Package 

Class IDevUpdateListener

  • All Implemented Interfaces:
    com.thingclips.smart.sdk.api.IDevListener

    
    public abstract class IDevUpdateListener
     implements IDevListener
                        

    The device status change listener. It is specially used for scenarios that need to distinguish between "full"/"partial" dp updates, otherwise please use IDevListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onPartDpUpdate(String devId, String dpStr) On device data points code (a part of) updated
      abstract void onFullDpUpdate(String devId, String dpStr) On device data points code (full) updated
      final void onDpUpdate(String devId, String dpStr) can't override
      • Methods inherited from class com.thingclips.smart.sdk.api.IDevListener

        onDevInfoUpdate, onNetworkStatusChanged, onRemoved, onStatusChanged
      • Methods inherited from class java.lang.Object

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

      • onPartDpUpdate

         abstract void onPartDpUpdate(String devId, String dpStr)

        On device data points code (a part of) updated

      • onFullDpUpdate

         abstract void onFullDpUpdate(String devId, String dpStr)

        On device data points code (full) updated

      • onDpUpdate

        @Deprecated() final void onDpUpdate(String devId, String dpStr)

        can't override