-
public interface IDeviceService
Scenario Device Capability
-
-
Method Summary
Modifier and Type Method Description abstract Unit
getStandardInfo(List<String> meshIds, IResultCallback<List<<ERROR CLASS>>> callback)
Get gid, sid information abstract Unit
getConditionDeviceDpAll(String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of functions for a device in scene conditions abstract Unit
getConditionDeviceDpAllWithStruct(Long relationId, String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of functions for a device in scene conditions abstract Unit
getStatusConditionDeviceDpAll(String relationId, String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of functions for a device in scene status conditions abstract Unit
getActionDeviceDpAll(String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of functions for a device in scene actions abstract Unit
getActionGroupDeviceDpAll(String groupDeviceId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of functions for a group in scene actions abstract Unit
getActionFunctionAll(Long relationId, String devId, String groupId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of functions in scene actions abstract Unit
getConditionDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> callback)
Get a list of devices that support device conditions abstract Unit
getConditionDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)
Get a list of device ids that support device conditions abstract Unit
getStatusConditionDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> callback)
Get a list of devices that support device status conditions abstract Unit
getStatusConditionDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)
Get a list of device ids that support device status conditions abstract Unit
getActionDeviceAll(Long relationId, IResultCallback<<ERROR CLASS>> callback)
Get a list of devices that support device actions abstract Unit
getActionDeviceIdAll(Long relationId, IResultCallback<<ERROR CLASS>> callback)
Get a list of device ids that support device actions abstract Unit
getLockDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> callback)
Get the list of door lock devices that support device conditions. abstract Unit
getLockDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)
Get the list of door lock device ids that support device conditions. abstract Unit
getFaceDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> callback)
Get the list of face devices that support device conditions. abstract Unit
getFaceDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)
Get the list of face device ids that support device conditions. abstract Unit
getFaceMemberAll(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of face recognition members abstract Unit
onDestroy()
when destroy abstract Map<String, Set<String>>
getCategoryDeviceGroups()
-
-
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, sidcallback
- 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 devicecallback
- IResultCallback, ConditionItemDetail
-
getConditionDeviceDpAllWithStruct
abstract Unit getConditionDeviceDpAllWithStruct(Long relationId, String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of functions for a device in scene conditions
- Parameters:
relationId
- the relation id of current space nodedeviceId
- the id of the devicecallback
- 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 nodedeviceId
- the id of the devicecallback
- 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 devicecallback
- 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 groupcallback
- IResultCallback, ActionDeviceDataPointList
-
getActionFunctionAll
abstract Unit getActionFunctionAll(Long relationId, String devId, String groupId, IResultCallback<List<<ERROR CLASS>>> callback)
Get a list of functions in scene actions
- Parameters:
relationId
- the relation id of current space nodedevId
- the id of the devicegroupId
- the id of the groupcallback
- IResultCallback, ActionDeviceDataPointList
-
getConditionDeviceAll
abstract Unit getConditionDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> 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<DeviceBean>> 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<DeviceBean>> 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<DeviceBean>> 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
-
getCategoryDeviceGroups
abstract Map<String, Set<String>> getCategoryDeviceGroups()
-
-
-
-