toggle menu
Marketing Cloud SDK
androidJvm
switch theme
search in API
Marketing Cloud SDK
/
com.salesforce.marketingcloud.notifications
/
NotificationMessage
Notification
Message
data
class
NotificationMessage
:
Parcelable
Members
Types
Sound
Link copied to clipboard
enum
Sound
:
Enum
<
NotificationMessage.Sound
>
Trigger
Link copied to clipboard
enum
Trigger
:
Enum
<
NotificationMessage.Trigger
>
Type
Link copied to clipboard
enum
Type
:
Enum
<
NotificationMessage.Type
>
Properties
alert
Link copied to clipboard
@get:
JvmName
(
name
=
"alert"
)
val
alert
:
String
custom
Link copied to clipboard
@get:
JvmName
(
name
=
"custom"
)
val
custom
:
String
?
=
null
custom
Keys
Link copied to clipboard
@get:
JvmName
(
name
=
"customKeys"
)
val
customKeys
:
Map
<
String
,
String
>
id
Link copied to clipboard
@get:
JvmName
(
name
=
"id"
)
val
id
:
String
media
Alt
Text
Link copied to clipboard
@get:
JvmName
(
name
=
"mediaAltText"
)
val
mediaAltText
:
String
?
=
null
media
Url
Link copied to clipboard
@get:
JvmName
(
name
=
"mediaUrl"
)
val
mediaUrl
:
String
?
=
null
payload
Link copied to clipboard
@get:
JvmName
(
name
=
"payload"
)
val
payload
:
Map
<
String
,
String
>
?
=
null
region
Link copied to clipboard
@get:
JvmName
(
name
=
"region"
)
val
region
:
Region
?
=
null
request
Id
Link copied to clipboard
@get:
JvmName
(
name
=
"requestId"
)
val
requestId
:
String
?
=
null
sound
Link copied to clipboard
@get:
JvmName
(
name
=
"sound"
)
val
sound
:
NotificationMessage.Sound
sound
Name
Link copied to clipboard
@get:
JvmName
(
name
=
"soundName"
)
val
soundName
:
String
?
=
null
subtitle
Link copied to clipboard
@get:
JvmName
(
name
=
"subtitle"
)
val
subtitle
:
String
?
=
null
title
Link copied to clipboard
@get:
JvmName
(
name
=
"title"
)
val
title
:
String
?
=
null
trigger
Link copied to clipboard
@get:
JvmName
(
name
=
"trigger"
)
val
trigger
:
NotificationMessage.Trigger
type
Link copied to clipboard
@get:
JvmName
(
name
=
"type"
)
val
type
:
NotificationMessage.Type
url
Link copied to clipboard
@get:
JvmName
(
name
=
"url"
)
val
url
:
String
?
=
null