Modal

Display content for a modal in-app message.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard

A flag indicating whether the dialog is allowed to be displayed as fullscreen.

Link copied to clipboard

The optional banner background color.

Link copied to clipboard

The optional body InAppMessageTextInfo.

Link copied to clipboard
val borderRadius: Float = 0.0f

The optional border radius. Defaults to 0.

Link copied to clipboard

The optional button layout.

Link copied to clipboard

The list of optional buttons.

Link copied to clipboard

The optional banner dismiss button color.

Link copied to clipboard

The optional footer button InAppMessageButtonInfo.

Link copied to clipboard

The optional heading InAppMessageTextInfo.

Link copied to clipboard

The optional media InAppMessageMediaInfo.

Link copied to clipboard

The optional banner Template.

Functions

Link copied to clipboard
fun copy(heading: InAppMessageTextInfo? = this.heading, body: InAppMessageTextInfo? = this.body, media: InAppMessageMediaInfo? = this.media, footer: InAppMessageButtonInfo? = this.footer, buttons: List<InAppMessageButtonInfo> = this.buttons, buttonLayoutType: InAppMessageButtonLayoutType = this.buttonLayoutType, template: Modal.Template = this.template, backgroundColor: InAppMessageColor = this.backgroundColor, @FloatRange(from = 0.0) borderRadius: Float = this.borderRadius, dismissButtonColor: InAppMessageColor = this.dismissButtonColor, allowFullscreenDisplay: Boolean = this.allowFullscreenDisplay): Modal

Returns a copy of the Modal display content with the provided changes.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toJsonValue(): JsonValue
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard