| java.lang.Object | |
| ↳ | com.microstrategy.webapi.paramsobject.PushNotificationPayload |
Object that represents a push notification payload. A push notification payload contains a push notification element other different properties and some data. This push notification payload is generic to both iOS (APNS) and Android (FCM) push notification.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PushNotificationPayload() | |||||||||||
| PushNotificationPayload(PushNotificationElement pushNotification, Map<String, String> data, String priority, String collapseKey, String timeToLive, Map<String, String> extraProperties) | |||||||||||
| PushNotificationPayload(PushNotificationElement pushNotificationElement, Map<String, String> data) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | getCollapseKey() | ||||||||||
| Map<String, String> | getData() | ||||||||||
| Map<String, String> |
getExtraProperties()
Get the extra properties of the notification.
| ||||||||||
| String | getPriority() | ||||||||||
| PushNotificationElement | getPushNotificationElement() | ||||||||||
| String | getTimeToLive() | ||||||||||
| void | setCollapseKey(String collapseKey) | ||||||||||
| void | setData(Map<String, String> data) | ||||||||||
| void |
setExtraProperties(Map<String, String> extraProperties)
Set the extra properties of the notification.
| ||||||||||
| void | setPriority(String priority) | ||||||||||
| void | setPushNotificationElement(PushNotificationElement pushNotificationElement) | ||||||||||
| void | setTimeToLive(String timeToLive) | ||||||||||
| String | toString() | ||||||||||
| void | validate() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Get the extra properties of the notification. Extra properties allow to put extra properties into the notification that are not by default supported. Key => represent the type of the property Value => represent the value of the property
Set the extra properties of the notification. Extra properties allow to put extra properties into the notification that are not by default supported. Key => represent the type of the property Value => represent the value of the property
| extraProperties | map of the extra properties. |
|---|
| Exception |
|---|