Package 

Interface IThingResultCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(T result) Server response success.
      abstract void onError(String errorCode, String errorMessage) Server response occur error.
      • Methods inherited from class java.lang.Object

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

      • onSuccess

         abstract void onSuccess(T result)

        Server response success.

        Parameters:
        result - Data model.
      • onError

         abstract void onError(String errorCode, String errorMessage)

        Server response occur error.

        Parameters:
        errorCode - Error code.
        errorMessage - Error message.