public class AeroGearGCMMessageReceiver
extends android.content.BroadcastReceiver
AeroGear specific BroadcastReceiver implementation for Google Cloud Messaging.
Internally received messages are delivered to attached implementations of our MessageHandler interface.
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MESSAGE_HANDLER_KEY |
static int |
NOTIFICATION_ID |
| Constructor and Description |
|---|
AeroGearGCMMessageReceiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
onReceive(android.content.Context context,
android.content.Intent intent)
When a GCM message is received, the attached implementations of our
MessageHandler interface
are being notified. |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtraspublic static final int NOTIFICATION_ID
public static final String DEFAULT_MESSAGE_HANDLER_KEY
Copyright © 2015 JBoss by Red Hat. All rights reserved.