In App Message Modal View
Constructors
Functions
Called when the WindowInsetsCompat information should be applied to this in-app message. WindowInsetsCompat will typically only be applied on notched devices and on Activities displaying inside the screen cutout area. Implementations of this method are expected to modify any necessary margins to ensure compatibility with the argument notch dimensions. For example, full screen in-app messages should have their close buttons moved to not be obscured by the status bar, slideups should not render behind the notch, and modal in-app messages will have no changes since they do not render in the cutout area. The screen has a notch if WindowInsetsCompat.getDisplayCutout is non-null. The system window insets (e.g. WindowInsetsCompat.getSystemWindowInsetTop will be present if the status bar is translucent or the status/navigation bars are otherwise non-occluding of the root Activity content.
Immersive messages can alternatively be closed by the back button.
Returns a list of all button views for this IInAppMessageImmersiveView. The default views for in-app messages can contain multiple layouts depending on the number of buttons.
Sets a rectangular click area for the close button. This is necessary to provide a larger click area than the close button drawable and to ensure that the click area is not a mask of the drawable and is instead an easy to tap rectangle.
Sets up the directional navigation pointers needed to support d-pad/TV-remote navigation of the in-app message.
Properties
Variable to prevent WindowInsetsCompat from getting applied multiple times on the same in-app message view.