Package 

Class CompletionListener.ToCallback

    • Method Summary

      Modifier and Type Method Description
      void onSuccess(Void v) Called when the associated operation completes successfully,
      void onError(ErrorInfo reason) Called when the associated operation completes with an error.
      • Methods inherited from class io.ably.lib.types.Callback

        onSuccess
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompletionListener.ToCallback

        CompletionListener.ToCallback(CompletionListener listener)
    • Method Detail

      • onSuccess

         void onSuccess(Void v)

        Called when the associated operation completes successfully,

      • onError

         void onError(ErrorInfo reason)

        Called when the associated operation completes with an error.

        Parameters:
        reason - information about the error.