DefaultInAppMessageViewWrapperFactory

Constructors

Functions

Link copied to clipboard
open override fun createInAppMessageViewWrapper(    inAppMessageView: View,     inAppMessage: IInAppMessage,     inAppMessageViewLifecycleListener: IInAppMessageViewLifecycleListener,     configurationProvider: BrazeConfigurationProvider,     openingAnimation: Animation?,     closingAnimation: Animation?,     clickableInAppMessageView: View?): IInAppMessageViewWrapper

Factory interface for non IInAppMessageImmersive view wrappers. Implementations should add click listeners to the in-app message view and also add swipe functionality to InAppMessageSlideup in-app messages.

open override fun createInAppMessageViewWrapper(    inAppMessageView: View,     inAppMessage: IInAppMessage,     inAppMessageViewLifecycleListener: IInAppMessageViewLifecycleListener,     configurationProvider: BrazeConfigurationProvider,     openingAnimation: Animation?,     closingAnimation: Animation?,     clickableInAppMessageView: View?,     buttons: List<View>?,     closeButton: View?): IInAppMessageViewWrapper

Constructor for IInAppMessageImmersive in-app message view wrappers. Implementations should add click listeners to the in-app message view and also add listeners to an optional close button and message button views.