on In App Message Button Clicked
Return
boolean flag to indicate to Braze whether the click has been manually handled. If true, Braze will only log a click and do nothing else. If false, Braze will log a click and also close the in-app message automatically.
Parameters
in App Message
The clicked in-app message.
button
The clicked message button.
open fun onInAppMessageButtonClicked(inAppMessage: IInAppMessage, button: MessageButton, inAppMessageCloser: InAppMessageCloser?): Boolean
Deprecated
InAppMessageCloser is deprecated
Replace with
onInAppMessageButtonClicked(inAppMessage, button)
Content copied to clipboard
Return
boolean flag to indicate to Braze whether the click has been manually handled. If true, Braze will only log a click and do nothing else. If false, Braze will log a click and also close the in-app message automatically.
Parameters
in App Message
The clicked in-app message.
button
The clicked message button.
in App Message Closer
Closing should not be animated if transitioning to a new activity. If remaining in the same activity, closing should be animated.