Marketing Cloud SDK / com.salesforce.marketingcloud.notifications / NotificationMessage

NotificationMessage

data class NotificationMessage : Parcelable

Types

Sound

enum class Sound

Trigger

enum class Trigger

Type

enum class Type

Properties

alert

val alert: String

custom

val custom: String?

customKeys

val customKeys: Map<String, String>

id

val id: String

mediaAltText

val mediaAltText: String?

mediaUrl

val mediaUrl: String?

payload

val payload: Map<String, String>?

region

val region: Region?

requestId

val requestId: String?

sound

val sound: Sound

soundName

val soundName: String?

subtitle

val subtitle: String?

title

val title: String?

trigger

val trigger: Trigger

type

val type: Type

url

val url: String?

Functions

alert

fun alert(): String

custom

fun custom(): String?

customKeys

fun customKeys(): Map<String, String>

id

fun id(): String

mediaAltText

fun mediaAltText(): String?

mediaUrl

fun mediaUrl(): String?

notificationId

fun notificationId(): Int

payload

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

region

fun region(): Region?

requestId

fun requestId(): String?

sound

fun sound(): Sound

soundName

fun soundName(): String?

subTitle

fun subTitle(): String?

title

fun title(): String?

trigger

fun trigger(): Trigger

type

fun type(): Type

url

fun url(): String?