Top Description Fields Constructors Methods
rx.internal.subscriptions

public final Enum Unsubscribed

extends Enum<Unsubscribed>
implements Subscription
Class Inheritance
All Implemented Interfaces
rx.Subscription
Imports
rx.Subscription

Represents an unsubscribed Subscription via a singleton; don't leak it!

Field Summary

Modifier and TypeField and Description
public static final Unsubscribed

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
isUnsubscribed()

Implements rx.Subscription.isUnsubscribed.

Indicates whether this Subscription is currently unsubscribed.
public void
unsubscribe()

Implements rx.Subscription.unsubscribe.

Stops the receipt of notifications on the Subscriber that was registered when this Subscription was received.
public static Unsubscribed
public static Unsubscribed[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INSTANCEback to summary
public static final Unsubscribed INSTANCE

Constructor Detail

Unsubscribedback to summary
private Unsubscribed()

Method Detail

isUnsubscribedback to summary
public boolean isUnsubscribed()

Implements rx.Subscription.isUnsubscribed.

Doc from rx.Subscription.isUnsubscribed.

Indicates whether this Subscription is currently unsubscribed.

Returns:boolean

true if this Subscription is currently unsubscribed, false otherwise

Annotations
@Override
unsubscribeback to summary
public void unsubscribe()

Implements rx.Subscription.unsubscribe.

Doc from rx.Subscription.unsubscribe.

Stops the receipt of notifications on the Subscriber that was registered when this Subscription was received.

This allows deregistering an Subscriber before it has finished receiving all events (i.e. before onCompleted is called).

Annotations
@Override
valueOfback to summary
public static Unsubscribed valueOf(String name)
valuesback to summary
public static Unsubscribed[] values()