DefaultInAppMessageViewWrapper

fun DefaultInAppMessageViewWrapper(inAppMessageView: View, inAppMessage: IInAppMessage, inAppMessageViewLifecycleListener: IInAppMessageViewLifecycleListener, configurationProvider: BrazeConfigurationProvider, openingAnimation: Animation?, closingAnimation: Animation?, clickableInAppMessageView: View?, buttonViews: List<View>? = null, closeButton: View? = null)

Parameters

inAppMessageView

In-app message top level view.

inAppMessage

In-app message model.

inAppMessageViewLifecycleListener

In-app message lifecycle listener.

configurationProvider

Configuration provider.

clickableInAppMessageView

View for which click actions apply.

buttonViews

List of views corresponding to MessageButton objects stored in the in-app message model object. These views should map one to one with the MessageButton objects.

closeButton

The View responsible for closing the in-app message.