-
public interface IInAppMessageLifecycleListenerThe lifecycle handler interface that should be implemented and provided as input to IInAppMessagesManager.addLifecycleListener. This allows for the app developer to gain insight during the IAM lifecycle process.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonWillDisplay(IInAppMessageWillDisplayEvent event)Called before an IAM is about to display to the user. abstract UnitonDidDisplay(IInAppMessageDidDisplayEvent event)Called after an IAM has been displayed to the user. abstract UnitonWillDismiss(IInAppMessageWillDismissEvent event)Called when the IAM is about to dismiss. abstract UnitonDidDismiss(IInAppMessageDidDismissEvent event)Called after an IAM has been dismissed. -
-
Method Detail
-
onWillDisplay
abstract Unit onWillDisplay(IInAppMessageWillDisplayEvent event)
Called before an IAM is about to display to the user.
- Parameters:
event- The IAM will display event information.
-
onDidDisplay
abstract Unit onDidDisplay(IInAppMessageDidDisplayEvent event)
Called after an IAM has been displayed to the user.
- Parameters:
event- The IAM did display event information.
-
onWillDismiss
abstract Unit onWillDismiss(IInAppMessageWillDismissEvent event)
Called when the IAM is about to dismiss.
- Parameters:
event- The IAM will dismiss event information.
-
onDidDismiss
abstract Unit onDidDismiss(IInAppMessageDidDismissEvent event)
Called after an IAM has been dismissed.
- Parameters:
event- The IAM did dismiss event information.
-
-
-
-