IInAppMessageViewLifecycleListener

IInAppMessageViewLifecycleListener returns the in-app message view at specific events in its display lifecycle for potential further processing and modification.

For use cases unrelated to view customization, such as suppressing display or performing custom click handling, see IInAppMessageManagerListener

Inheritors

Functions

Link copied to clipboard
abstract fun afterClosed(inAppMessage: IInAppMessage)

Called after the in-app message View has been removed from the root layout (and the disappearing animation has completed).

Link copied to clipboard
abstract fun afterOpened(inAppMessageView: View, inAppMessage: IInAppMessage)

Called after the in-app message View has been added to the root layout (and the appearing animation has completed).

Link copied to clipboard
abstract fun beforeClosed(inAppMessageView: View, inAppMessage: IInAppMessage)

Called before the in-app message View is removed (and before any closing animation starts).

Link copied to clipboard
abstract fun beforeOpened(inAppMessageView: View, inAppMessage: IInAppMessage)

Called before the in-app message View is added to the root layout.

Link copied to clipboard
abstract fun onButtonClicked(inAppMessageCloser: InAppMessageCloser, messageButton: MessageButton, inAppMessageImmersive: IInAppMessageImmersive)

Called when an in-app message Button is clicked.

Link copied to clipboard
abstract fun onClicked(inAppMessageCloser: InAppMessageCloser, inAppMessageView: View, inAppMessage: IInAppMessage)

Called when the in-app message View is clicked.

Link copied to clipboard
abstract fun onDismissed(inAppMessageView: View, inAppMessage: IInAppMessage)

Called when the in-app message View is dismissed.