Class CompletionListener.ToCallback

java.lang.Object
io.ably.lib.realtime.CompletionListener.ToCallback
All Implemented Interfaces:
Callback<Void>
Enclosing interface:
CompletionListener

public static class CompletionListener.ToCallback extends Object implements Callback<Void>
  • Constructor Details

  • Method Details

    • onSuccess

      public void onSuccess(Void v)
      Description copied from interface: Callback
      Called when the associated operation completes successfully,
      Specified by:
      onSuccess in interface Callback<Void>
    • onError

      public void onError(ErrorInfo reason)
      Description copied from interface: Callback
      Called when the associated operation completes with an error.
      Specified by:
      onError in interface Callback<Void>
      Parameters:
      reason - information about the error.