public interface

GCMConstants

com.urbanairship.push.GCMConstants

Class Overview

Common GCM Constants used by Urban Airship.

Summary

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.

Constants

public static final String ACTION_GCM_RECEIVE

This intent action indicates a push notification has been received from GCM.

Constant Value: "com.google.android.c2dm.intent.RECEIVE"

public static final String EXTRA_GCM_MESSAGE_TYPE

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).

Constant Value: "message_type"

public static final String EXTRA_GCM_TOTAL_DELETED

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.

Constant Value: "total_deleted"

public static final String GCM_DELETED_MESSAGES_VALUE

The message type value sent in EXTRA_GCM_MESSAGE_TYPE when GCM deleted pending messages.

Constant Value: "deleted_messages"