public interface IInAppMessageImmersiveView extends IInAppMessageView
IInAppMessageImmersiveView
is the base view interface for all immersive in-app messages.
An immersive in-app message is defined as an in-app message that takes up the entire screen and/or 'blocks' the user from interacting with the app until the message is dismissed. Immersive views extend the base in-app message view with header text, message buttons, and a close button.
Modifier and Type | Method and Description |
---|---|
java.util.List<android.view.View> |
getMessageButtonViews(int numButtons)
Gets the message button Views so that Braze can add click listeners to them.
|
android.view.View |
getMessageCloseButtonView()
Gets the close button View so that Braze can add click listeners to it.
|
void |
setupDirectionalNavigation(int numButtons)
Sets up the directional navigation pointers needed to support d-pad/TV-remote
navigation of the in-app message.
|
applyWindowInsets, getMessageClickableView, hasAppliedWindowInsets
android.view.View getMessageCloseButtonView()
java.util.List<android.view.View> getMessageButtonViews(int numButtons)
numButtons
- The number of visible buttonsvoid setupDirectionalNavigation(int numButtons)
numButtons
- The number of MessageButton
's
on this message.