Package 

Interface OfflineCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(R result) Called when the operation has completed successfully.
      abstract void onFailure(Throwable throwable) Called when an error has happened while executing the operation.
      • Methods inherited from class java.lang.Object

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

      • onSuccess

         abstract void onSuccess(R result)

        Called when the operation has completed successfully.

        Parameters:
        result - The result of the operation.
      • onFailure

         abstract void onFailure(Throwable throwable)

        Called when an error has happened while executing the operation.

        Parameters:
        throwable - Error returned to specify the reason of the failure.