Package 

Class CompletionListener.FromCallback

    • Method Summary

      Modifier and Type Method Description
      void onSuccess() Called when the associated operation completes successfully.
      void onError(ErrorInfo reason) Called when the associated operation completes with an error.
      • Methods inherited from class java.lang.Object

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

      • CompletionListener.FromCallback

        CompletionListener.FromCallback(Callback<Void> callback)
    • Method Detail

      • onSuccess

         void onSuccess()

        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.