addAppBackgroundListener

fun addAppBackgroundListener(@NonNull listener: AppBackgroundListener)

Add a listener to get a callback on application background for the account configured as default.

Since

12.0.00

Parameters

listener

fun addAppBackgroundListener(@NonNull appId: String, @NonNull listener: AppBackgroundListener)

Add a listener to get a callback on application background for the given account.

Since

12.0.00

Parameters

listener
appId

Account identifier, APP ID on the MoEngage Dashboard.