addInAppLifeCycleListener

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

Throws

if the SDK is not initialized.


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

Throws

if the SDK is not initialized.