Package 

Interface IResultCallback

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSuccess(T result) When succeed
      abstract Unit onError(String errorCode, String errorMessage) When failed
      • 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)

        When succeed

        Parameters:
        result - result
      • onError

         abstract Unit onError(String errorCode, String errorMessage)

        When failed

        Parameters:
        errorCode - error code
        errorMessage - error message