Package io.realm.mongodb.sync
Interface SubscriptionSet.UpdateCallback
-
- All Known Subinterfaces:
SubscriptionSet.UpdateAsyncCallback
- Enclosing interface:
- SubscriptionSet
public static interface SubscriptionSet.UpdateCallback
Interface used when modifying a subscription set. SeeSubscriptionSet.update(UpdateCallback)
andSubscriptionSet.updateAsync(UpdateAsyncCallback)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
update(MutableSubscriptionSet subscriptions)
Updates the current subscription set by passing in a version of it that can be modified.
-
-
-
Method Detail
-
update
void update(MutableSubscriptionSet subscriptions)
Updates the current subscription set by passing in a version of it that can be modified. If an exception is throwing during the update, all changes will be rolled back.- Parameters:
subscriptions
- a modifiable version of the subscription set.
-
-