public interface PushSubscriptionCallback
Modifier and Type | Method and Description |
---|---|
void |
onFail(MobileError error)
Callback method which is called when the operation fails.
|
void |
onSuccess(java.lang.String subscriptionID)
Callback method which is called when the operation is successful.
|
void onSuccess(java.lang.String subscriptionID)
subscriptionID
- subscriptionID string which can be used to unsubscribe from push notification latervoid onFail(MobileError error)
error
- decribes the error which occured on subscription attempt