public interface Subscription
Observable.on(Class, Observer)
to allow unsubscribing.Modifier and Type | Method and Description |
---|---|
boolean |
isUnsubscribed()
Returns
true if this Subscription is currently unsubscribed. |
void |
unsubscribe()
Stops the receipt of notifications on the
Observable that was registered when this
Subscription was received. |
void unsubscribe()
Observable
that was registered when this
Subscription
was received.boolean isUnsubscribed()
true
if this Subscription
is currently unsubscribed.