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
Button actions.
Link copied to clipboard
The button group can be fetched from com.urbanairship.push.PushManager.getNotificationActionGroup
Link copied to clipboard
Click actions.
Link copied to clipboard
Display duration in milliseconds.
Link copied to clipboard
Banner placement.
Link copied to clipboard
Primary Color
Link copied to clipboard
Secondary Color