MoECallbacks

class MoECallbacks

Callback manager for MoEngage Core module.

Author

Umang Chamaria

Types

Companion
Link copied to clipboard
object Companion

Functions

addAppBackgroundListener
Link copied to clipboard
fun addAppBackgroundListener(listener: AppBackgroundListener)
addLogoutCompleteListener
Link copied to clipboard
fun addLogoutCompleteListener(listener: OnLogoutCompleteListener)

Adds a callback listener for OnLogoutCompleteListener

getAppBackgroundListeners
Link copied to clipboard
fun getAppBackgroundListeners(): HashSet<AppBackgroundListener>

Returns the set of listener instances listening to application background callback.

getLogoutCompleteListeners
Link copied to clipboard
fun getLogoutCompleteListeners(): Set<OnLogoutCompleteListener>

Returns the set of listener instances listening to logout complete callback.

removeAppBackgroundListener
Link copied to clipboard
fun removeAppBackgroundListener(listener: AppBackgroundListener)
removeLogoutListener
Link copied to clipboard
fun removeLogoutListener(listener: OnLogoutCompleteListener)

Removes a callback listener for OnAppBackgroundListener