com.urbanairship.push.GCMConstants |
Common GCM Constants used by Urban Airship.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ACTION_GCM_RECEIVE | This intent action indicates a push notification has been received from GCM. | |||||||||
String | EXTRA_GCM_MESSAGE_TYPE | The GCM Message Type extra is set by GCM and indicates the type of the incoming message intent. | |||||||||
String | EXTRA_GCM_TOTAL_DELETED | The total deleted extra indicates the number of pending notifications deleted by the GCM service. | |||||||||
String | GCM_DELETED_MESSAGES_VALUE | The message type value sent in EXTRA_GCM_MESSAGE_TYPE when GCM deleted pending messages. |
This intent action indicates a push notification has been received from GCM.
The GCM Message Type extra is set by GCM and indicates the type of the incoming message intent. It is used to indicate that a message originated in the GCM service (e.g., due to pending deletion).
The total deleted extra indicates the number of pending notifications deleted by the GCM service. It is sent
in conjunction with a EXTRA_GCM_MESSAGE_TYPE
set to GCM_DELETED_MESSAGES_VALUE
.
The message type value sent in EXTRA_GCM_MESSAGE_TYPE
when GCM deleted pending messages.