public class DebugHook<C>
extends rx.plugins.RxJavaObservableExecutionHook
Observable chain to emit a detailed account of all the events
that happened.| Modifier and Type | Class and Description |
|---|---|
class |
DebugHook.DebugOnSubscribe<T> |
| Constructor and Description |
|---|
DebugHook(DebugNotificationListener<C> listener)
Creates a new instance of the DebugHook RxJava plug-in that can be passed into
RxJavaPlugins registerObservableExecutionHook(hook) method. |
| Modifier and Type | Method and Description |
|---|---|
<T> rx.Observable.OnSubscribe<T> |
onCreate(rx.Observable.OnSubscribe<T> f) |
<T,R> rx.Observable.Operator<? extends R,? super T> |
onLift(rx.Observable.Operator<? extends R,? super T> bind) |
<T> rx.Subscription |
onSubscribeReturn(rx.Subscription subscription) |
<T> rx.Observable.OnSubscribe<T> |
onSubscribeStart(rx.Observable<? extends T> observableInstance,
rx.Observable.OnSubscribe<T> f) |
public DebugHook(DebugNotificationListener<C> listener)
RxJavaPlugins registerObservableExecutionHook(hook) method.listener - all of the onNext values are passed through this function to allow for
manipulation of the valuespublic <T> rx.Observable.OnSubscribe<T> onSubscribeStart(rx.Observable<? extends T> observableInstance,
rx.Observable.OnSubscribe<T> f)
onSubscribeStart in class rx.plugins.RxJavaObservableExecutionHookpublic <T> rx.Subscription onSubscribeReturn(rx.Subscription subscription)
onSubscribeReturn in class rx.plugins.RxJavaObservableExecutionHookpublic <T> rx.Observable.OnSubscribe<T> onCreate(rx.Observable.OnSubscribe<T> f)
onCreate in class rx.plugins.RxJavaObservableExecutionHookpublic <T,R> rx.Observable.Operator<? extends R,? super T> onLift(rx.Observable.Operator<? extends R,? super T> bind)
onLift in class rx.plugins.RxJavaObservableExecutionHook