|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIntentService
com.google.android.c2dm.C2DMBaseReceiver
edu.columbia.irt.mobiledyswis.C2DMReceiver
public class C2DMReceiver
Android Cloud to Device Service class
Field Summary | |
---|---|
static java.lang.String |
ME
|
Fields inherited from class com.google.android.c2dm.C2DMBaseReceiver |
---|
ERR_ACCOUNT_MISSING, ERR_AUTHENTICATION_FAILED, ERR_INVALID_PARAMETERS, ERR_INVALID_SENDER, ERR_PHONE_REGISTRATION_ERROR, ERR_SERVICE_NOT_AVAILABLE, ERR_TOO_MANY_REGISTRATIONS, EXTRA_ERROR, EXTRA_REGISTRATION_ID, EXTRA_UNREGISTERED, REGISTRATION_CALLBACK_INTENT |
Constructor Summary | |
---|---|
C2DMReceiver()
The constructor function |
Method Summary | |
---|---|
void |
onError(Context context,
java.lang.String errorId)
Called on registration error. |
void |
onRegistered(Context context,
java.lang.String registrationId)
Called when a registration token has been received. |
Methods inherited from class com.google.android.c2dm.C2DMBaseReceiver |
---|
onHandleIntent, onUnregistered |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ME
Constructor Detail |
---|
public C2DMReceiver()
Method Detail |
---|
public void onRegistered(Context context, java.lang.String registrationId) throws java.io.IOException
com.google.android.c2dm.C2DMBaseReceiver
onRegistered
in class com.google.android.c2dm.C2DMBaseReceiver
java.io.IOException
public void onError(Context context, java.lang.String errorId)
com.google.android.c2dm.C2DMBaseReceiver
onError
in class com.google.android.c2dm.C2DMBaseReceiver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |