DefaultInAppMessageViewLifecycleListener

Functions

afterClosed
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).
afterOpened
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).
beforeClosed
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).
beforeOpened
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.
onButtonClicked
Link copied to clipboard
open override fun onButtonClicked(inAppMessageCloser: InAppMessageCloser, messageButton: MessageButton, inAppMessageImmersive: IInAppMessageImmersive)
Called when an in-app message Button is clicked.
onClicked
Link copied to clipboard
open override fun onClicked(inAppMessageCloser: InAppMessageCloser, inAppMessageView: View, inAppMessage: IInAppMessage)
Called when the in-app message View is clicked.
onDismissed
Link copied to clipboard
open override fun onDismissed(inAppMessageView: View, inAppMessage: IInAppMessage)
Called when the in-app message View is dismissed.