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)(source)

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

The alert.

Link copied to clipboard

Button actions.

Link copied to clipboard
Link copied to clipboard

Click actions.

Link copied to clipboard

Display duration in milliseconds.

Link copied to clipboard

The expiry date in milliseconds.

Link copied to clipboard

Message extras.

Link copied to clipboard
val id: String

The message's ID.

Link copied to clipboard

Banner placement.

Link copied to clipboard

Primary Color

Link copied to clipboard

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