|
AeroGear Android Library 1.2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageHandler
For receiving GCM messages this interface needs to be implemented.
| Method Summary | |
|---|---|
void |
onDeleteMessage(android.content.Context context,
android.os.Bundle message)
Invoked when the Google Cloud Messaging Server deleted some pending messages because they were collapsible. |
void |
onError()
Invoked when the Google Cloud Messaging Server indicates a send error. |
void |
onMessage(android.content.Context context,
android.os.Bundle message)
Invoked when the Google Cloud Messaging Server delivered a message to the device. |
| Method Detail |
|---|
void onDeleteMessage(android.content.Context context,
android.os.Bundle message)
context - The Context in which the AeroGear message receiver is running.message - A map of extended data from the intent, delivered to the AeroGear message receiver.
void onMessage(android.content.Context context,
android.os.Bundle message)
context - The Context in which the AeroGear message receiver is running.message - A map containing the submitted key/value pairsvoid onError()
|
AeroGear Android Library 1.2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||