onInAppMessageClicked

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

inAppMessage

The clicked in-app message.


open fun onInAppMessageClicked(inAppMessage: IInAppMessage, inAppMessageCloser: InAppMessageCloser?): Boolean

Deprecated

InAppMessageCloser is deprecated

Replace with

onInAppMessageClicked(inAppMessage)

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

inAppMessage

The clicked in-app message.

inAppMessageCloser

Closing should not be animated if transitioning to a new activity. If remaining in the same activity, closing should be animated.