Package 

Interface IThingDirectlyDeviceActivatorListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onError(String errorCode, String errorMsg) Activating error callback.
      abstract void onActiveSuccess(String result) Activation success callback.
      abstract void discoveryDeviceWithActive(boolean isActive) the directly device is or not need to resetif need reset ,do it callback
      • Methods inherited from class java.lang.Object

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

      • onError

         abstract void onError(String errorCode, String errorMsg)

        Activating error callback.

        Parameters:
        errorCode - Error code.
        errorMsg - Error message.
      • onActiveSuccess

         abstract void onActiveSuccess(String result)

        Activation success callback.device data

        Parameters:
        result - json data from device info
      • discoveryDeviceWithActive

         abstract void discoveryDeviceWithActive(boolean isActive)

        the directly device is or not need to resetif need reset ,do it callback