JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
io.reactivex

Interface Observer<T>

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void onComplete ()
      Notifies the Observer that the Observable has finished sending push-based notifications.
      void onError (Throwable e)
      Notifies the Observer that the Observable has experienced an error condition.
      void onNext (T t)
      Provides the Observer with a new item to observe.
      void onSubscribe (Disposable d)
      Provides the Observer with the means of cancelling (disposing) the connection (channel) with the Observable in both synchronous (from within onNext(Object)) and asynchronous manner.
    • Method Detail

      • onSubscribe

        void onSubscribe(@NonNull
         Disposable d)
        Provides the Observer with the means of cancelling (disposing) the connection (channel) with the Observable in both synchronous (from within onNext(Object)) and asynchronous manner.
        Parameters:
        d - the Disposable instance whose Disposable.dispose() can be called anytime to cancel the connection
        Since:
        2.0
      • onNext

        void onNext(@NonNull
         T t)
        Provides the Observer with a new item to observe.

        The Observable may call this method 0 or more times.

        The Observable will not call this method again after it calls either onComplete() or onError(java.lang.Throwable).

        Parameters:
        t - the item emitted by the Observable
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /