addInAppLifeCycleListener

fun addInAppLifeCycleListener(@NonNull listener: InAppLifeCycleListener)

Register a callback to be notified whenever in-app is shown, closed. This API registers callback for the account configured as default.

Since

5.2.0

Parameters

listener

fun addInAppLifeCycleListener(appId: String, @NonNull listener: InAppLifeCycleListener)

Register a callback to be notified whenever in-app is shown, closed. This API registers callback for the given account.

Since

5.2.0

Parameters

appId

Account identifier, APP ID on the MoEngage Dashboard.

listener