Package 

Interface IThingHomeDeviceStatusListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onDeviceDpUpdate(String devId, String dpStr) Data point change.
      abstract void onDeviceStatusChanged(String devId, boolean online) Device status change.
      abstract void onDeviceInfoUpdate(String devId) Equipment Information Update.
      • Methods inherited from class java.lang.Object

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

      • onDeviceDpUpdate

         abstract void onDeviceDpUpdate(String devId, String dpStr)

        Data point change.

        Parameters:
        devId - The id of the device which you are listening to.
        dpStr - Json string description of the data point.
      • onDeviceStatusChanged

         abstract void onDeviceStatusChanged(String devId, boolean online)

        Device status change. such as online or offline.

        Parameters:
        devId - The id of the device which you are listening to.
        online - online flag, {@code true} that means online, or {@code false} that means offline.
      • onDeviceInfoUpdate

         abstract void onDeviceInfoUpdate(String devId)

        Equipment Information Update.

        Such as name, etc.

        Parameters:
        devId - The id of the device which you are listening to.