public class NotificationsHandler
extends java.lang.Object
| Constructor and Description |
|---|
NotificationsHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onReceive(android.content.Context context,
android.os.Bundle bundle)
Method called after a notification is received.
|
void |
onRegistered(android.content.Context context,
java.lang.String gcmRegistrationId)
Method called after the device is registered for notifications
|
void |
onUnregistered(android.content.Context context,
java.lang.String gcmRegistrationId)
Method called after the device is unregistered for notifications
|
public void onRegistered(android.content.Context context,
java.lang.String gcmRegistrationId)
context - Application contextgcmRegistrationId - Google Cloud Messaging registration idpublic void onUnregistered(android.content.Context context,
java.lang.String gcmRegistrationId)
context - Application contextgcmRegistrationId - Google Cloud Messaging registration idpublic void onReceive(android.content.Context context,
android.os.Bundle bundle)
context - Application Contextbundle - Bundle with notification data