public static interface Realm.UnsubscribeCallback
Modifier and Type | Method and Description |
---|---|
void |
onError(String subscriptionName,
Throwable error)
Callback invoked if an error happened while trying to unsubscribe.
|
void |
onSuccess(String subscriptionName)
Callback invoked when the request to unsubscribe was succesfully enqueued.
|
void onSuccess(String subscriptionName)
subscriptionName
- subscription that was canceled.