PushMessage
A push message, usually created from handling a message intent from either GCM, or another push notification service
Constructors
Properties
Link copied to clipboard
The actions extra key holds the payload of actions to be performed with the push.
Link copied to clipboard
The alert extra holds the string sent in the "alert" field of an Airship Push Notification.
Link copied to clipboard
The extra key for the category of the notification.
Link copied to clipboard
The extra key for the delivery priority.
Link copied to clipboard
The EXPIRATION extra is a time expressed in seconds since the Epoch after which, if specified, the notification should not be delivered.
Link copied to clipboard
The extra key to control the notification display in the foreground.
Link copied to clipboard
The extra key indicates the name of an icon to use from an app's drawable resources.
Link copied to clipboard
The extra key indicates the icon color.
Link copied to clipboard
The extra key for the the legacy in-app message payload.
Link copied to clipboard
The extra key for the payload of Airship actions to be run when an interactive notification action button is opened.
Link copied to clipboard
The extra key for the interactive notification group that will be displayed with a push.
Link copied to clipboard
The Live Update payload.
Link copied to clipboard
The extra key indicates if the notification should only be displayed on the device.
Link copied to clipboard
The push metadata extra holds the encrypted push identifiers sent in an Airship Push Notification.
Link copied to clipboard
The extra key for the channel to be used when posting a notification.
Link copied to clipboard
The extra key for the tag to be used when posting a notification.
Link copied to clipboard
The extra key for the priority of the notification.
Link copied to clipboard
The extra key for the public notification payload.
Link copied to clipboard
The push ID extra is the ID assigned to a push at the time it is sent.
Link copied to clipboard
The rich push extra that contains the rich push message ID.
Link copied to clipboard
The push ID extra holds the unique push ID sent in an Airship Push Notification.
Link copied to clipboard
The extra key for the sound of the notification.
Link copied to clipboard
The extra key for the style of the notification.
Link copied to clipboard
The extra key for the summary of the notification.
Link copied to clipboard
The extra key for the title of the notification.
Link copied to clipboard
The extra key for the notification's visibility in the lockscreen.
Link copied to clipboard
The extra key for the wearable payload.
Link copied to clipboard
Constant for the extra EXTRA_DELIVERY_PRIORITY that indicates the push is high priority.
Link copied to clipboard
Functions
Link copied to clipboard
Checks the message for Airship keys.
Link copied to clipboard
Checks if the push message contains a key.
Link copied to clipboard
Link copied to clipboard
Creates a push message from a json value.
Link copied to clipboard
Gets the push message's actions.
Link copied to clipboard
Gets the message's canonical push ID
Link copied to clipboard
Gets the category of the notification.
Link copied to clipboard
Gets the notification icon color.
Link copied to clipboard
Gets the notification actions payload.
Link copied to clipboard
Gets the notification action button type.
Link copied to clipboard
Gets the Live Update payload, if present.
Link copied to clipboard
Gets the push send metadata.
Link copied to clipboard
Returns the notification channel that should be used when posting the notification.
Returns the notification channel that should be used when posting the notification or the default channel if its not defined.
Link copied to clipboard
Returns the notification tag that should be used when posting the notification.
Link copied to clipboard
Gets the priority of the notification.
Link copied to clipboard
Gets the public notification payload.
Link copied to clipboard
Gets the rich push message ID
Link copied to clipboard
Gets the style payload of the notification.
Link copied to clipboard
Gets the summary of the notification.
Link copied to clipboard
Gets the visibility of the notification for the lockscreen.
Link copied to clipboard
Gets the wearable payload.
Link copied to clipboard
Checks if the push is from Accengage or not.
Link copied to clipboard
Checks if the push is from Accengage and has content or not.
Link copied to clipboard
Checks if the push is from Airship or not.
Link copied to clipboard
Returns if the notification should be displayed or suppressed in the foreground.
Link copied to clipboard
Checks if the notification should only be displayed on the device.
Link copied to clipboard
Checks if the message is to update remote-data or not.
Link copied to clipboard
Returns the objects represented as a JsonValue.
Link copied to clipboard