|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.android.gcm.GCMConstants
public final class GCMConstants
Constants used by the GCM library.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_INTENT_SERVICE_CLASS_NAME
|
static java.lang.String |
ERROR_ACCOUNT_MISSING
There is no Google account on the phone. |
static java.lang.String |
ERROR_AUTHENTICATION_FAILED
Bad password. |
static java.lang.String |
ERROR_INVALID_PARAMETERS
The request sent by the phone does not contain the expected parameters. |
static java.lang.String |
ERROR_INVALID_SENDER
The sender account is not recognized. |
static java.lang.String |
ERROR_PHONE_REGISTRATION_ERROR
Incorrect phone registration with Google. |
static java.lang.String |
ERROR_SERVICE_NOT_AVAILABLE
The device can't read the response, or there was a 500/503 from the server that can be retried later. |
static java.lang.String |
EXTRA_APPLICATION_PENDING_INTENT
Extra used on "com.google.android.c2dm.intent.REGISTER" to get the application info. |
static java.lang.String |
EXTRA_ERROR
Extra used on "com.google.android.c2dm.intent.REGISTRATION" to indicate an error when the registration fails. |
static java.lang.String |
EXTRA_FROM
Extra used on "com.google.android.c2dm.intent.RECEIVE" to indicate which sender (Google API project id) sent the message. |
static java.lang.String |
EXTRA_REGISTRATION_ID
Extra used on "com.google.android.c2dm.intent.REGISTRATION" to indicate the registration id when the registration succeeds. |
static java.lang.String |
EXTRA_SENDER
Extra used on "com.google.android.c2dm.intent.REGISTER" to indicate which senders (Google API project ids) can send messages to the application. |
static java.lang.String |
EXTRA_SPECIAL_MESSAGE
Type of message present in the "com.google.android.c2dm.intent.RECEIVE" intent. |
static java.lang.String |
EXTRA_TOTAL_DELETED
Number of messages deleted by the server because the device was idle. |
static java.lang.String |
EXTRA_UNREGISTERED
Extra used on "com.google.android.c2dm.intent.REGISTRATION" to indicate that the application has been unregistered. |
static java.lang.String |
INTENT_FROM_GCM_LIBRARY_RETRY
Intent used by the GCM library to indicate that the registration call should be retried. |
static java.lang.String |
INTENT_FROM_GCM_MESSAGE
Intent sent by GCM containing a message. |
static java.lang.String |
INTENT_FROM_GCM_REGISTRATION_CALLBACK
Intent sent by GCM indicating with the result of a registration request. |
static java.lang.String |
INTENT_TO_GCM_REGISTRATION
Intent sent to GCM to register the application. |
static java.lang.String |
INTENT_TO_GCM_UNREGISTRATION
Intent sent to GCM to unregister the application. |
static java.lang.String |
PERMISSION_GCM_INTENTS
Permission necessary to receive GCM intents. |
static java.lang.String |
VALUE_DELETED_MESSAGES
Special message indicating the server deleted the pending messages. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INTENT_TO_GCM_REGISTRATION
public static final java.lang.String INTENT_TO_GCM_UNREGISTRATION
public static final java.lang.String INTENT_FROM_GCM_REGISTRATION_CALLBACK
public static final java.lang.String INTENT_FROM_GCM_LIBRARY_RETRY
public static final java.lang.String INTENT_FROM_GCM_MESSAGE
public static final java.lang.String EXTRA_SENDER
public static final java.lang.String EXTRA_APPLICATION_PENDING_INTENT
public static final java.lang.String EXTRA_UNREGISTERED
public static final java.lang.String EXTRA_ERROR
public static final java.lang.String EXTRA_REGISTRATION_ID
public static final java.lang.String EXTRA_SPECIAL_MESSAGE
public static final java.lang.String VALUE_DELETED_MESSAGES
public static final java.lang.String EXTRA_TOTAL_DELETED
public static final java.lang.String EXTRA_FROM
public static final java.lang.String PERMISSION_GCM_INTENTS
public static final java.lang.String DEFAULT_INTENT_SERVICE_CLASS_NAME
GCMBroadcastReceiver
,
Constant Field Valuespublic static final java.lang.String ERROR_SERVICE_NOT_AVAILABLE
public static final java.lang.String ERROR_ACCOUNT_MISSING
public static final java.lang.String ERROR_AUTHENTICATION_FAILED
public static final java.lang.String ERROR_INVALID_PARAMETERS
public static final java.lang.String ERROR_INVALID_SENDER
public static final java.lang.String ERROR_PHONE_REGISTRATION_ERROR
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |