Package 

Interface IDeviceService

    • Method Detail

      • getStandardInfo

         abstract Unit getStandardInfo(List<String> meshIds, IResultCallback<List<<ERROR CLASS>>> callback)

        Get gid, sid information

        Parameters:
        meshIds - the gateway id list which need to get gid, sid
        callback - IResultCallback, StandardSceneInfo
      • getConditionDeviceDpAll

         abstract Unit getConditionDeviceDpAll(String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get a list of functions for a device in scene conditions

        Parameters:
        deviceId - the id of the device
        callback - IResultCallback, ConditionItemDetail
      • getStatusConditionDeviceDpAll

         abstract Unit getStatusConditionDeviceDpAll(String relationId, String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get a list of functions for a device in scene status conditions

        Parameters:
        relationId - the relation id of current space node
        deviceId - the id of the device
        callback - IResultCallback, ConditionItemDetail
      • getActionDeviceDpAll

         abstract Unit getActionDeviceDpAll(String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get a list of functions for a device in scene actions

        Parameters:
        deviceId - the id of the device
        callback - IResultCallback, ActionDeviceDataPointList
      • getActionGroupDeviceDpAll

         abstract Unit getActionGroupDeviceDpAll(String groupDeviceId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get a list of functions for a group in scene actions

        Parameters:
        groupDeviceId - the id of the group
        callback - IResultCallback, ActionDeviceDataPointList
      • getConditionDeviceAll

         abstract Unit getConditionDeviceAll(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get a list of devices that support device conditions

        Parameters:
        relationId - the relation id of current space node
      • getConditionDeviceIdAll

         abstract Unit getConditionDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)

        Get a list of device ids that support device conditions

        Parameters:
        relationId - the relation id of current space node
      • getStatusConditionDeviceAll

         abstract Unit getStatusConditionDeviceAll(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get a list of devices that support device status conditions

        Parameters:
        relationId - the relation id of current space node
      • getStatusConditionDeviceIdAll

         abstract Unit getStatusConditionDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)

        Get a list of device ids that support device status conditions

        Parameters:
        relationId - the relation id of current space node
      • getActionDeviceAll

         abstract Unit getActionDeviceAll(Long relationId, IResultCallback<<ERROR CLASS>> callback)

        Get a list of devices that support device actions

        Parameters:
        relationId - the relation id of current space node
      • getActionDeviceIdAll

         abstract Unit getActionDeviceIdAll(Long relationId, IResultCallback<<ERROR CLASS>> callback)

        Get a list of device ids that support device actions

        Parameters:
        relationId - the relation id of current space node
      • getLockDeviceAll

         abstract Unit getLockDeviceAll(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get the list of door lock devices that support device conditions. which can be passed in different types. 11 is the device that supports door lock recognition, and 9 is the device that supports face recognition.

        Parameters:
        relationId - the relation id of current space node
      • getLockDeviceIdAll

         abstract Unit getLockDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)

        Get the list of door lock device ids that support device conditions. which can be passed in different types. 11 is the device that supports door lock recognition, and 9 is the device that supports face recognition.

        Parameters:
        relationId - the relation id of current space node
      • getFaceDeviceAll

         abstract Unit getFaceDeviceAll(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get the list of face devices that support device conditions. Different types can be passed in. 11 is the device that supports door lock recognition, and 9 is the device that supports face recognition.

        Parameters:
        relationId - the relation id of current space node
      • getFaceDeviceIdAll

         abstract Unit getFaceDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)

        Get the list of face device ids that support device conditions. Different types can be passed in. 11 is the device that supports door lock recognition, and 9 is the device that supports face recognition.

        Parameters:
        relationId - the relation id of current space node
      • getFaceMemberAll

         abstract Unit getFaceMemberAll(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)

        Get a list of face recognition members

        Parameters:
        relationId - the relation id of current space node
      • onDestroy

         abstract Unit onDestroy()

        when destroy