Marketing Cloud SDK / com.salesforce.marketingcloud.messages / Message

Message

data class Message : Parcelable

Types

Media

class Media : Parcelable

Properties

alert

val alert: String

contentType

val contentType: Int

custom

val custom: String?

customKeys

val customKeys: Map<String, String>?

endDateUtc

val endDateUtc: Date?

id

val id: String

isRollingPeriod

val isRollingPeriod: Boolean

media

val media: Media?

messageLimit

val messageLimit: Int

messagesPerPeriod

val messagesPerPeriod: Int

messageType

val messageType: Int

numberOfPeriods

val numberOfPeriods: Int

openDirect

val openDirect: String?

periodType

val periodType: Int

proximity

val proximity: Int

sound

val sound: String?

startDateUtc

val startDateUtc: Date?

title

val title: String?

url

val url: String?

Functions

alert

fun alert(): String

contentType

fun contentType(): Int

custom

fun custom(): String?

customKeys

fun customKeys(): Map<String, String>?

endDateUtc

fun endDateUtc(): Date?

id

fun id(): String

media

fun media(): Media?

messageLimit

fun messageLimit(): Int

messagesPerPeriod

fun messagesPerPeriod(): Int

messageType

fun messageType(): Int

numberOfPeriods

fun numberOfPeriods(): Int

openDirect

fun openDirect(): String?

periodType

fun periodType(): Int

proximity

fun proximity(): Int

sound

fun sound(): String?

startDateUtc

fun startDateUtc(): Date?

title

fun title(): String?

url

fun url(): String?

Companion Object Properties

CONTENT_TYPE_ALERT

const val CONTENT_TYPE_ALERT: Int

MESSAGE_TYPE_FENCE_ENTRY

const val MESSAGE_TYPE_FENCE_ENTRY: Int

MESSAGE_TYPE_FENCE_EXIT

const val MESSAGE_TYPE_FENCE_EXIT: Int

MESSAGE_TYPE_NONE

const val MESSAGE_TYPE_NONE: Int

MESSAGE_TYPE_PROXIMITY

const val MESSAGE_TYPE_PROXIMITY: Int

PERIOD_TYPE_UNIT_DAY

const val PERIOD_TYPE_UNIT_DAY: Int

PERIOD_TYPE_UNIT_HOUR

const val PERIOD_TYPE_UNIT_HOUR: Int

PERIOD_TYPE_UNIT_MONTH

const val PERIOD_TYPE_UNIT_MONTH: Int

PERIOD_TYPE_UNIT_NONE

const val PERIOD_TYPE_UNIT_NONE: Int

PERIOD_TYPE_UNIT_WEEK

const val PERIOD_TYPE_UNIT_WEEK: Int

PERIOD_TYPE_UNIT_YEAR

const val PERIOD_TYPE_UNIT_YEAR: Int