LegacyInAppMessage

class LegacyInAppMessage @JvmOverloads constructor(    val id: String,     val placement: Banner.Placement,     val alert: String? = null,     val displayDurationMs: Long? = null,     val expiryMs: Long? = null,     val clickActionValues: JsonMap? = null,     val buttonGroupId: String? = null,     val buttonActionValues: Map<String, JsonMap>? = null,     @ColorInt val primaryColor: Int? = null,     @ColorInt val secondaryColor: Int? = null,     messageType: String? = null,     campaigns: JsonValue? = null,     val extras: JsonMap? = null)

Legacy in-app message model object.

Constructors

Link copied to clipboard
constructor(    id: String,     placement: Banner.Placement,     alert: String? = null,     displayDurationMs: Long? = null,     expiryMs: Long? = null,     clickActionValues: JsonMap? = null,     buttonGroupId: String? = null,     buttonActionValues: Map<String, JsonMap>? = null,     @ColorInt primaryColor: Int? = null,     @ColorInt secondaryColor: Int? = null,     messageType: String? = null,     campaigns: JsonValue? = null,     extras: JsonMap? = null)

Properties

Link copied to clipboard
val alert: String? = null

The alert.

Link copied to clipboard

Button actions.

Link copied to clipboard
Link copied to clipboard

Click actions.

Link copied to clipboard
val displayDurationMs: Long? = null

Display duration in milliseconds.

Link copied to clipboard
val expiryMs: Long? = null

The expiry date in milliseconds.

Link copied to clipboard
val extras: JsonMap? = null

Message extras.

Link copied to clipboard
val id: String

The message's ID.

Link copied to clipboard

Banner placement.

Link copied to clipboard
val primaryColor: Int? = null

Primary Color

Link copied to clipboard
val secondaryColor: Int? = null

Secondary Color

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 toString(): String