EventListener

interface EventListener

When an object of this type is registered with the InAppMessageManager, its methods will be called to signal certain in app message events.

Functions

Link copied to clipboard
abstract fun didCloseMessage(@NonNull message: InAppMessage)
This method will be called when the InAppMessage is dismissed.
Link copied to clipboard
abstract fun didShowMessage(@NonNull message: InAppMessage)
This method will be called when the InAppMessage is first displayed on screen.
Link copied to clipboard
abstract fun shouldShowMessage(@NonNull message: InAppMessage): Boolean
This method will be called before a in app message is presented.