Observer objects.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the observed value type T> Observer | Returns: anObserver that calls onNext for each emitted item from the Observable
the Observer subscribes toa function that handles each item emitted by an onNext)ObservableCreates an |
| public static < the observed value type T> Observer | Returns: anObserver that calls onNext for each emitted item from the Observable
the Observer subscribes to, and calls onError if the Observable notifies
of an errora function that handles each item emitted by an onNext, final Action1<Throwable> Observablea function that handles an error notification if one is sent by an onError)ObservableCreates an |
| public static < the observed value type T> Observer | Returns: anObserver that calls onNext for each emitted item from the Observable
the Observer subscribes to, calls onError if the Observable notifies
of an error, and calls onComplete if the Observable notifies that the observable
sequence is completea function that handles each item emitted by an onNext, final Action1<Throwable> Observablea function that handles an error notification if one is sent by an onError, final Action0 Observablea function that handles a sequence complete notification if one is sent by an onComplete)ObservableCreates an |
| public static < the observed value type T> Observer |
| EMPTY | back to summary |
|---|---|
| private static final Observer<Object> EMPTY | |
| Observers | back to summary |
|---|---|
| private Observers() | |
| create | back to summary |
|---|---|
| public static <T> Observer Creates an
| |
| create | back to summary |
|---|---|
| public static <T> Observer Creates an
| |
| create | back to summary |
|---|---|
| public static <T> Observer Creates an
| |
| empty | back to summary |
|---|---|
| public static <T> Observer Returns an inert
| |