IInAppMessageManagerListener

interface IInAppMessageManagerListener

The IInAppMessageManagerListener returns the in-app message at specific events in its control flow and gives the host app the option of overriding Braze's default display handling and implementing its own custom behavior.

If you are implementing Unity, you must use IAppboyUnityInAppMessageListener instead.

See BrazeInAppMessageManager

Functions

afterInAppMessageViewClosed
Link copied to clipboard
open fun afterInAppMessageViewClosed(inAppMessage: IInAppMessage)
Called after the in-app message View has been removed from the layout (and the disappearing animation has completed).
afterInAppMessageViewOpened
Link copied to clipboard
open fun afterInAppMessageViewOpened(inAppMessageView: View, inAppMessage: IInAppMessage)
Called after the in-app message View has been added to the layout (and the appearing animation has completed).
beforeInAppMessageDisplayed
Link copied to clipboard
open fun beforeInAppMessageDisplayed(inAppMessage: IInAppMessage): InAppMessageOperation
beforeInAppMessageViewClosed
Link copied to clipboard
open fun beforeInAppMessageViewClosed(inAppMessageView: View, inAppMessage: IInAppMessage)
Called before the in-app message View is removed from the layout (and before any closing animation starts).
beforeInAppMessageViewOpened
Link copied to clipboard
open fun beforeInAppMessageViewOpened(inAppMessageView: View, inAppMessage: IInAppMessage)
Called before the in-app message View is added to the layout.
onInAppMessageButtonClicked
Link copied to clipboard
open fun onInAppMessageButtonClicked(inAppMessage: IInAppMessage, button: MessageButton): Boolean
open fun onInAppMessageButtonClicked(inAppMessage: IInAppMessage, button: MessageButton, inAppMessageCloser: InAppMessageCloser?): Boolean
onInAppMessageClicked
Link copied to clipboard
open fun onInAppMessageClicked(inAppMessage: IInAppMessage): Boolean
open fun onInAppMessageClicked(inAppMessage: IInAppMessage, inAppMessageCloser: InAppMessageCloser?): Boolean
onInAppMessageDismissed
Link copied to clipboard
open fun onInAppMessageDismissed(inAppMessage: IInAppMessage)

Inheritors

DefaultInAppMessageManagerListener
Link copied to clipboard