C D E G I O P R S T U V

C

checkDevice(Context) - Static method in class com.google.android.gcm.GCMRegistrar
Checks if the device has the proper dependencies installed.
checkManifest(Context) - Static method in class com.google.android.gcm.GCMRegistrar
Checks that the application manifest is properly configured.
com.google.android.gcm - package com.google.android.gcm
 

D

DEFAULT_INTENT_SERVICE_CLASS_NAME - Static variable in class com.google.android.gcm.GCMConstants
 
DEFAULT_ON_SERVER_LIFESPAN_MS - Static variable in class com.google.android.gcm.GCMRegistrar
Default lifespan (7 days) of the isRegisteredOnServer(Context) flag until it is considered expired.

E

ERROR_ACCOUNT_MISSING - Static variable in class com.google.android.gcm.GCMConstants
There is no Google account on the phone.
ERROR_AUTHENTICATION_FAILED - Static variable in class com.google.android.gcm.GCMConstants
Bad password.
ERROR_INVALID_PARAMETERS - Static variable in class com.google.android.gcm.GCMConstants
The request sent by the phone does not contain the expected parameters.
ERROR_INVALID_SENDER - Static variable in class com.google.android.gcm.GCMConstants
The sender account is not recognized.
ERROR_PHONE_REGISTRATION_ERROR - Static variable in class com.google.android.gcm.GCMConstants
Incorrect phone registration with Google.
ERROR_SERVICE_NOT_AVAILABLE - Static variable in class com.google.android.gcm.GCMConstants
The device can't read the response, or there was a 500/503 from the server that can be retried later.
EXTRA_APPLICATION_PENDING_INTENT - Static variable in class com.google.android.gcm.GCMConstants
Extra used on "com.google.android.c2dm.intent.REGISTER" to get the application info.
EXTRA_ERROR - Static variable in class com.google.android.gcm.GCMConstants
Extra used on "com.google.android.c2dm.intent.REGISTRATION" to indicate an error when the registration fails.
EXTRA_FROM - Static variable in class com.google.android.gcm.GCMConstants
Extra used on "com.google.android.c2dm.intent.RECEIVE" to indicate which sender (Google API project id) sent the message.
EXTRA_REGISTRATION_ID - Static variable in class com.google.android.gcm.GCMConstants
Extra used on "com.google.android.c2dm.intent.REGISTRATION" to indicate the registration id when the registration succeeds.
EXTRA_SENDER - Static variable in class com.google.android.gcm.GCMConstants
Extra used on "com.google.android.c2dm.intent.REGISTER" to indicate which senders (Google API project ids) can send messages to the application.
EXTRA_SPECIAL_MESSAGE - Static variable in class com.google.android.gcm.GCMConstants
Type of message present in the "com.google.android.c2dm.intent.RECEIVE" intent.
EXTRA_TOTAL_DELETED - Static variable in class com.google.android.gcm.GCMConstants
Number of messages deleted by the server because the device was idle.
EXTRA_UNREGISTERED - Static variable in class com.google.android.gcm.GCMConstants
Extra used on "com.google.android.c2dm.intent.REGISTRATION" to indicate that the application has been unregistered.

G

GCMBaseIntentService - Class in com.google.android.gcm
Skeleton for application-specific IntentServices responsible for handling communication from Google Cloud Messaging service.
GCMBaseIntentService() - Constructor for class com.google.android.gcm.GCMBaseIntentService
Constructor that does not set a sender id, useful when the sender id is context-specific.
GCMBaseIntentService(String...) - Constructor for class com.google.android.gcm.GCMBaseIntentService
Constructor used when the sender id(s) is fixed.
GCMBroadcastReceiver - Class in com.google.android.gcm
BroadcastReceiver that receives GCM messages and delivers them to an application-specific GCMBaseIntentService subclass.
GCMBroadcastReceiver() - Constructor for class com.google.android.gcm.GCMBroadcastReceiver
 
GCMConstants - Class in com.google.android.gcm
Constants used by the GCM library.
GCMRegistrar - Class in com.google.android.gcm
Utilities for device registration.
getGCMIntentServiceClassName(Context) - Method in class com.google.android.gcm.GCMBroadcastReceiver
Gets the class name of the intent service that will handle GCM messages.
getRegisterOnServerLifespan(Context) - Static method in class com.google.android.gcm.GCMRegistrar
Gets how long (in milliseconds) the isRegistered(Context) property is valid.
getRegistrationId(Context) - Static method in class com.google.android.gcm.GCMRegistrar
Gets the current registration id for application on GCM service.
getSenderIds(Context) - Method in class com.google.android.gcm.GCMBaseIntentService
Gets the sender ids.

I

INTENT_FROM_GCM_LIBRARY_RETRY - Static variable in class com.google.android.gcm.GCMConstants
Intent used by the GCM library to indicate that the registration call should be retried.
INTENT_FROM_GCM_MESSAGE - Static variable in class com.google.android.gcm.GCMConstants
Intent sent by GCM containing a message.
INTENT_FROM_GCM_REGISTRATION_CALLBACK - Static variable in class com.google.android.gcm.GCMConstants
Intent sent by GCM indicating with the result of a registration request.
INTENT_TO_GCM_REGISTRATION - Static variable in class com.google.android.gcm.GCMConstants
Intent sent to GCM to register the application.
INTENT_TO_GCM_UNREGISTRATION - Static variable in class com.google.android.gcm.GCMConstants
Intent sent to GCM to unregister the application.
isRegistered(Context) - Static method in class com.google.android.gcm.GCMRegistrar
Checks whether the application was successfully registered on GCM service.
isRegisteredOnServer(Context) - Static method in class com.google.android.gcm.GCMRegistrar
Checks whether the device was successfully registered in the server side, as set by setRegisteredOnServer(Context, boolean).

O

onDeletedMessages(Context, int) - Method in class com.google.android.gcm.GCMBaseIntentService
Called when the GCM server tells pending messages have been deleted because the device was idle.
onDestroy(Context) - Static method in class com.google.android.gcm.GCMRegistrar
Clear internal resources.
onError(Context, String) - Method in class com.google.android.gcm.GCMBaseIntentService
Called on registration or unregistration error.
onHandleIntent(Intent) - Method in class com.google.android.gcm.GCMBaseIntentService
 
onMessage(Context, Intent) - Method in class com.google.android.gcm.GCMBaseIntentService
Called when a cloud message has been received.
onReceive(Context, Intent) - Method in class com.google.android.gcm.GCMBroadcastReceiver
 
onRecoverableError(Context, String) - Method in class com.google.android.gcm.GCMBaseIntentService
Called on a registration error that could be retried.
onRegistered(Context, String) - Method in class com.google.android.gcm.GCMBaseIntentService
Called after a device has been registered.
onUnregistered(Context, String) - Method in class com.google.android.gcm.GCMBaseIntentService
Called after a device has been unregistered.

P

PERMISSION_GCM_INTENTS - Static variable in class com.google.android.gcm.GCMConstants
Permission necessary to receive GCM intents.

R

register(Context, String...) - Static method in class com.google.android.gcm.GCMRegistrar
Initiate messaging registration for the current application.

S

setRegisteredOnServer(Context, boolean) - Static method in class com.google.android.gcm.GCMRegistrar
Sets whether the device was successfully registered in the server side.
setRegisterOnServerLifespan(Context, long) - Static method in class com.google.android.gcm.GCMRegistrar
Sets how long (in milliseconds) the isRegistered(Context) flag is valid.

T

TAG - Static variable in class com.google.android.gcm.GCMBaseIntentService
 

U

unregister(Context) - Static method in class com.google.android.gcm.GCMRegistrar
Unregister the application.

V

VALUE_DELETED_MESSAGES - Static variable in class com.google.android.gcm.GCMConstants
Special message indicating the server deleted the pending messages.

C D E G I O P R S T U V