NotificationMessage
Package: com.salesforce.marketingcloud.notifications
Inheritance: Parcelable
A data class representing a notification message in the Salesforce Marketing Cloud SDK.
Enumeration for notification sound types.
Enumeration for notification trigger types.
Enumeration for notification message types.
The alert message text.
Custom data associated with the notification (nullable).
A map of custom key-value pairs.
The unique identifier for the notification message.
Alternative text for media content (nullable).
URL for media content (nullable).
Additional payload data as a map (nullable).
The geographic region associated with the notification (nullable).
The request identifier (nullable).
Rich notification features (nullable).
The sound setting for the notification.
The name of the custom sound file (nullable).
The notification subtitle (nullable).
The notification title (nullable).
The trigger type for the notification.
The type of notification message.
URL associated with the notification (nullable).
Converts the notification message to a JSON object.
Returns: A JSONObject representation of the notification message.