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

    Modifier and Type
    Method
    Description
    void
    The Observer shall not receive anymore updates.
    boolean
    Current cancellation state of the subscription.
  • Method Details

    • cancel

      void cancel()
      The Observer shall not receive anymore updates.
    • isCanceled

      boolean isCanceled()
      Current cancellation state of the subscription.