Message
NotificationMessage
Region
PushKeys
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Package: com.salesforce.marketingcloud.pushmodels
Module: Push Models Module v1.0.2
Platform: androidJvm
1data class Message : ParcelableThe Message class is a data class representing a push notification message in the Salesforce Marketing Cloud Unified SDK. It implements Parcelable for efficient data passing between Android components.
1object CompanionA companion object for the Message class.
1class Media : ParcelableRepresents media content associated with the message. Implements Parcelable.
All properties are annotated with @JvmField for Java interoperability.
alert: String - The alert text of the push notificationtitle: String? - Optional title for the notificationsound: String? - Optional sound identifier for the notificationid: String - Unique identifier for the messagecontentType: Int - Type of content in the messagemessageType: Int - Type classification of the messagemessageLimit: Int - Limit on message deliveryproximity: Int - Proximity setting for the messagecustom: String? - Optional custom data stringcustomKeys: Map<String, String>? - Optional map of custom key-value pairsopenDirect: String? - Optional direct open actionurl: String? - Optional URL associated with the messagestartDateUtc: Date? - Optional start date in UTCendDateUtc: Date? - Optional end date in UTCisRollingPeriod: Boolean - Indicates if the period is rollingperiodType: Int - Type of periodnumberOfPeriods: Int - Number of periodsmessagesPerPeriod: Int - Number of messages allowed per periodmedia: Message.Media? - Optional media content associated with the messageandroid.os.Parcelable