public class DefaultInAppMessageViewLifecycleListener extends java.lang.Object implements IInAppMessageViewLifecycleListener
Constructor and Description |
---|
DefaultInAppMessageViewLifecycleListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterClosed(IInAppMessage inAppMessage)
Called after the in-app message View has been removed from the root
layout (and the disappearing animation has completed).
|
void |
afterOpened(android.view.View inAppMessageView,
IInAppMessage inAppMessage)
Called after the in-app message View has been added to the root layout
(and the appearing animation has completed).
|
void |
beforeClosed(android.view.View inAppMessageView,
IInAppMessage inAppMessage)
Called before the in-app message View is removed (and before any closing
animation starts).
|
void |
beforeOpened(android.view.View inAppMessageView,
IInAppMessage inAppMessage)
Called before the in-app message View is added to the root layout.
|
void |
onButtonClicked(InAppMessageCloser inAppMessageCloser,
MessageButton messageButton,
IInAppMessageImmersive inAppMessageImmersive)
Called when an in-app message Button is clicked.
|
void |
onClicked(InAppMessageCloser inAppMessageCloser,
android.view.View inAppMessageView,
IInAppMessage inAppMessage)
Called when the in-app message View is clicked.
|
void |
onDismissed(android.view.View inAppMessageView,
IInAppMessage inAppMessage)
Called when the in-app message View is dismissed.
|
public DefaultInAppMessageViewLifecycleListener()
public void beforeOpened(android.view.View inAppMessageView, IInAppMessage inAppMessage)
IInAppMessageViewLifecycleListener
beforeOpened
in interface IInAppMessageViewLifecycleListener
public void afterOpened(android.view.View inAppMessageView, IInAppMessage inAppMessage)
IInAppMessageViewLifecycleListener
afterOpened
in interface IInAppMessageViewLifecycleListener
public void beforeClosed(android.view.View inAppMessageView, IInAppMessage inAppMessage)
IInAppMessageViewLifecycleListener
beforeClosed
in interface IInAppMessageViewLifecycleListener
public void afterClosed(IInAppMessage inAppMessage)
IInAppMessageViewLifecycleListener
afterClosed
in interface IInAppMessageViewLifecycleListener
public void onClicked(InAppMessageCloser inAppMessageCloser, android.view.View inAppMessageView, IInAppMessage inAppMessage)
IInAppMessageViewLifecycleListener
onClicked
in interface IInAppMessageViewLifecycleListener
public void onButtonClicked(InAppMessageCloser inAppMessageCloser, MessageButton messageButton, IInAppMessageImmersive inAppMessageImmersive)
IInAppMessageViewLifecycleListener
onButtonClicked
in interface IInAppMessageViewLifecycleListener
public void onDismissed(android.view.View inAppMessageView, IInAppMessage inAppMessage)
IInAppMessageViewLifecycleListener
onDismissed
in interface IInAppMessageViewLifecycleListener