Package io.realm.mongodb.sync
Interface SubscriptionSet.StateChangeCallback
-
- Enclosing interface:
- SubscriptionSet
public static interface SubscriptionSet.StateChangeCallback
Callback used when asynchronously waiting for the server to process the subscription set. When the server either succeed or fail to apply the subscription set, the result is returned inonStateChange
. This include errors from the server. If a local exception is thrown, it is reported through ononError()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(Throwable e)
void
onStateChange(SubscriptionSet subscriptions)
-
-
-
Method Detail
-
onStateChange
void onStateChange(SubscriptionSet subscriptions)
-
onError
void onError(Throwable e)
-
-