Message

Message Center Message data.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The URL for the message body. URL may only be accessed with Basic Auth credentials set to the user ID and password.

Link copied to clipboard

(Optional) The date and time the message will expire (UTC).

Link copied to clipboard

(Optional) Additional key-value pairs associated with the message.

Link copied to clipboard
val id: String

The Airship message ID. May be used to match an incoming push notification to a specific Message.

Link copied to clipboard

Indicates whether the message has been deleted.

Link copied to clipboard

Indicates whether the message has been expired.

Link copied to clipboard

Indicates whether the message has been read.

Link copied to clipboard
Link copied to clipboard

Optional list icon URL for this Message.

Link copied to clipboard

The date and time the message was sent (UTC).

Link copied to clipboard

Optional subtitle for this Message.

Link copied to clipboard

The message title.

Functions

Link copied to clipboard
fun delete()

Deletes this Message

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
fun markRead()

Marks this Message as read.

Link copied to clipboard

Marks this Message as unread

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)