Interface Subscription


public interface Subscription
A subscription returns from Observable.on(Class, Observer) to allow unsubscribing.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if this Subscription is currently unsubscribed.
    void
    Stops the receipt of notifications on the Observable that was registered when this Subscription was received.
  • Method Details

    • unsubscribe

      void unsubscribe()
      Stops the receipt of notifications on the Observable that was registered when this Subscription was received.
    • isUnsubscribed

      boolean isUnsubscribed()
      Returns true if this Subscription is currently unsubscribed.