DefaultInAppMessageViewLifecycleListener

Constructors

Functions

Link copied to clipboard
open override 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
open override 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
open override 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
open override fun beforeOpened(inAppMessageView: View, inAppMessage: IInAppMessage)

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

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

Called when an in-app message Button is clicked.

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

Called when the in-app message View is clicked.

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

Called when the in-app message View is dismissed.