public static interface NotificationsService.RemoteNotificationHandler
Modifier and Type | Method and Description |
---|---|
void |
didRegisterForRemoteNotifications(java.lang.String deviceToken)
called if the registration succeeded
|
void |
failToRegisterForRemoteNotifications(java.lang.String message)
called if an error happened during registration
|
void |
receivedRemoteNotification(java.lang.String notification)
received notification.
|
void receivedRemoteNotification(java.lang.String notification)
notification
- A system dependent representation of the notificationvoid failToRegisterForRemoteNotifications(java.lang.String message)
message
- A system dependent message of the failurevoid didRegisterForRemoteNotifications(java.lang.String deviceToken)
deviceToken
- A system dependent token you have to use to send your messages to your device