|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrx.subscriptions.BooleanSubscription
public class BooleanSubscription
Subscription that can be checked for status such as in a loop inside an Observable to exit the loop if unsubscribed.
| Constructor Summary | |
|---|---|
BooleanSubscription()
|
|
| Method Summary | |
|---|---|
boolean |
isUnsubscribed()
|
void |
unsubscribe()
Stop receiving notifications on the Observer that was registered when this Subscription was received. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanSubscription()
| Method Detail |
|---|
public boolean isUnsubscribed()
public void unsubscribe()
SubscriptionObserver that was registered when this Subscription was received.
This allows unregistering an Observer before it has finished receiving all events (ie. before onCompleted is called).
unsubscribe in interface Subscription
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||