Package io.realm.mongodb.sync
Interface SubscriptionSet.UpdateAsyncCallback
-
- All Superinterfaces:
SubscriptionSet.UpdateCallback
- Enclosing interface:
- SubscriptionSet
public static interface SubscriptionSet.UpdateAsyncCallback extends SubscriptionSet.UpdateCallback
Callback used when asynchronously updating a subscription set. If an exception is throwing during the update, all changes will be rolled back and the exception will be reported inonError()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(Throwable exception)
void
onSuccess(SubscriptionSet subscriptions)
-
Methods inherited from interface io.realm.mongodb.sync.SubscriptionSet.UpdateCallback
update
-
-
-
-
Method Detail
-
onSuccess
void onSuccess(SubscriptionSet subscriptions)
-
onError
void onError(Throwable exception)
-
-