Package 

Interface IRequestCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(Object result) Callback on request success.
      abstract void onFailure(String errorCode, String errorMessage) Callback on request failed.
      • Methods inherited from class java.lang.Object

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

      • onSuccess

         abstract void onSuccess(Object result)

        Callback on request success.

        Parameters:
        result - the result.
      • onFailure

         abstract void onFailure(String errorCode, String errorMessage)

        Callback on request failed.

        Parameters:
        errorCode - error code
        errorMessage - error message