MoESdkEventObserver

fun interface MoESdkEventObserver

Observer for SDK-autonomous events (e.g., background batch sync results).

Register via MoEngage.registerSdkEventObserver and unregister via MoEngage.unregisterSdkEventObserver to avoid leaks.

onSdkEvent is always invoked on the main thread.

Author

Gowtham KK

Since

10.0.0

Functions

Link copied to clipboard
@MainThread
abstract fun onSdkEvent(accountMeta: AccountMeta, event: MoESdkEvent)

Invoked on the main thread when the SDK emits an autonomous event.