Package io.objectbox.reactive
Interface DataSubscription
-
- All Known Implementing Classes:
DataSubscriptionList
public interface DataSubscription
The result of subscribing an @DataObserver
using @SubscriptionBuilder.observer(DataObserver)
. Used to cancel the subscription (unsubscribe).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
The Observer shall not receive anymore updates.boolean
isCanceled()
Current cancellation state of the subscription.
-