InAppMessageButtonInfo

class InAppMessageButtonInfo(val identifier: String, val label: InAppMessageTextInfo, val actions: JsonMap? = null, val behavior: InAppMessageButtonInfo.Behavior? = null, val backgroundColor: InAppMessageColor? = null, val borderColor: InAppMessageColor? = null, val borderRadius: Float = 0.0f) : JsonSerializable

In-app button display info.

Constructors

Link copied to clipboard
constructor(identifier: String, label: InAppMessageTextInfo, actions: JsonMap? = null, behavior: InAppMessageButtonInfo.Behavior? = null, backgroundColor: InAppMessageColor? = null, borderColor: InAppMessageColor? = null, borderRadius: Float = 0.0f)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val actions: JsonMap? = null

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

Link copied to clipboard

The button's background color.

Link copied to clipboard

The button's click behavior.

Link copied to clipboard

The button's border color.

Link copied to clipboard
val borderRadius: Float = 0.0f

The border radius in dps.

Link copied to clipboard

The button's ID.

Link copied to clipboard

The button's label.

Functions

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