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 IBrazeUnityInAppMessageListener instead.

See BrazeInAppMessageManager

Functions

Link copied to clipboard

Called after the in-app message View has been removed from the layout (and the disappearing animation has completed).

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).

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).

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

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

Link copied to clipboard
open fun onInAppMessageButtonClicked(inAppMessage: IInAppMessage, button: MessageButton, inAppMessageCloser: InAppMessageCloser?): Boolean
Link copied to clipboard
open fun onInAppMessageClicked(inAppMessage: IInAppMessage, inAppMessageCloser: InAppMessageCloser?): Boolean
Link copied to clipboard
open fun onInAppMessageDismissed(inAppMessage: IInAppMessage)

Inheritors

Link copied to clipboard