Banner

Display content for banner in-app message.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val actions: JsonMap? = null

The action names and values to be run when the banner is clicked.

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 in dps.

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 banner display duration. Default to 15 seconds

Link copied to clipboard

The optional heading InAppMessageTextInfo.

Link copied to clipboard

The optional media InAppMessageMediaInfo.

Link copied to clipboard

The optional banner placement. Placement

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, buttons: List<InAppMessageButtonInfo>? = this.buttons, buttonLayoutType: InAppMessageButtonLayoutType = this.buttonLayoutType, template: Banner.Template = this.template, backgroundColor: InAppMessageColor = this.backgroundColor, dismissButtonColor: InAppMessageColor = this.dismissButtonColor, borderRadius: Float = this.borderRadius, durationMs: Long = this.durationMs, placement: Banner.Placement = this.placement, actions: JsonMap? = this.actions): Banner

Returns a copy of the Banner 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