public interface IPushNotificationListener
Modifier and Type | Method and Description |
---|---|
void |
onDeviceRegistered(java.lang.String token)
Will be called if the device could register for receiving Push Notification messages.
|
void |
onDeviceRegistrationError(java.lang.String error)
Will be called by failing device registration.
|
void |
onMessage(PushNotification message)
Will be called on new Push Notification message
|
void onMessage(PushNotification message)
void onDeviceRegistered(java.lang.String token)
token
- - this token will be used to send message to this device.void onDeviceRegistrationError(java.lang.String error)
error
- - the platform specific error description