DefaultInAppMessageViewWrapper

open class DefaultInAppMessageViewWrapper : IInAppMessageViewWrapper

Constructors

DefaultInAppMessageViewWrapper
Link copied to clipboard
open fun DefaultInAppMessageViewWrapper(inAppMessageView: View, inAppMessage: IInAppMessage, inAppMessageViewLifecycleListener: IInAppMessageViewLifecycleListener, configurationProvider: BrazeConfigurationProvider, openingAnimation: Animation, closingAnimation: Animation, clickableInAppMessageView: View)
Constructor for base and slideup view wrappers.
DefaultInAppMessageViewWrapper
Link copied to clipboard
open fun DefaultInAppMessageViewWrapper(inAppMessageView: View, inAppMessage: IInAppMessage, inAppMessageViewLifecycleListener: IInAppMessageViewLifecycleListener, configurationProvider: BrazeConfigurationProvider, openingAnimation: Animation, closingAnimation: Animation, clickableInAppMessageView: View, buttonViews: List<View>, closeButton: View)
Constructor for immersive in-app message view wrappers.

Functions

close
Link copied to clipboard
open fun close()
Closes an IInAppMessage.
getInAppMessage
Link copied to clipboard
open fun getInAppMessage(): IInAppMessage
The IInAppMessage being wrapped.
getInAppMessageView
Link copied to clipboard
open fun getInAppMessageView(): View
The View representing the IInAppMessage that is visible to the user.
getIsAnimatingClose
Link copied to clipboard
open fun getIsAnimatingClose(): Boolean
Whether the IInAppMessage view is currently in the process of its close animation.
open
Link copied to clipboard
open fun open(@NonNull() activity: Activity)
Opens an IInAppMessage on the Activity.