Package 

Interface AnnotationsCallback

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSuccess(T result) Called when the operation has been successful.
      abstract Unit onError(Throwable error) Called when there has been an error in the operation.
      • Methods inherited from class java.lang.Object

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

      • onSuccess

         abstract Unit onSuccess(T result)

        Called when the operation has been successful.

        Parameters:
        result - the result
      • onError

         abstract Unit onError(Throwable error)

        Called when there has been an error in the operation.

        Parameters:
        error - the error