PushMessage
A push message, usually created from handling a message intent from either FCM, or another push notification service
Properties
Gets the push message's actions.
Gets the message's canonical push ID
Gets the notification actions payload.
Gets the notification action button type.
Checks if the push is from Accengage or not.
Checks if the push is from Accengage and has content or not.
Checks if the push is from Airship or not.
Returns if the notification should be displayed or suppressed in the foreground.
Checks if the notification should only be displayed on the device.
Gets the Live Update payload, if present.
Returns the notification channel that should be used when posting the notification.
Returns the notification tag that should be used when posting the notification.
Gets the public notification payload.
Gets the rich push message ID
Gets the style payload of the notification.
Gets the visibility of the notification for the lockscreen. Defaults to 1 (VISIBILITY_PUBLIC).
Gets the wearable payload.
Functions
Checks the message for Airship keys.
Checks if the push message contains a key.
Gets the notification icon color.
Returns the notification channel that should be used when posting the notification or the default channel if its not defined.
Returns a bundle of all the push extras
Returns the objects represented as a JsonValue.