Package 

Interface IGroupListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onDpUpdate(long groupId, String dps) On group data points code updated.
      abstract void onDpCodeUpdate(long groupId, Map<String, Object> dpCodeMap) On group data points code updated.
      abstract void onGroupInfoUpdate(long groupId) On group info updated.(like name and so on).
      abstract void onGroupRemoved(long groupId) On group removed.
      • Methods inherited from class java.lang.Object

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

      • onDpUpdate

         abstract void onDpUpdate(long groupId, String dps)

        On group data points code updated.

        Parameters:
        groupId - group id
        dps - The data points id changed, the format like {"101": true}
      • onDpCodeUpdate

         abstract void onDpCodeUpdate(long groupId, Map<String, Object> dpCodeMap)

        On group data points code updated.

        Parameters:
        groupId - group id
        dpCodeMap - The data points code changed, the format like {"switch_led": true}
      • onGroupInfoUpdate

         abstract void onGroupInfoUpdate(long groupId)

        On group info updated.(like name and so on).

        Parameters:
        groupId - Group id
      • onGroupRemoved

         abstract void onGroupRemoved(long groupId)

        On group removed.

        Parameters:
        groupId - Group id