-
public interface IDeviceServiceScenario Device Capability
-
-
Method Summary
Modifier and Type Method Description abstract UnitgetStandardInfo(List<String> meshIds, IResultCallback<List<<ERROR CLASS>>> callback)Get gid, sid information abstract UnitgetConditionDeviceDpAll(String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)Get a list of functions for a device in scene conditions abstract UnitgetConditionDeviceDpAllWithStruct(Long relationId, String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)Get a list of functions for a device in scene conditions abstract UnitgetStatusConditionDeviceDpAll(String relationId, String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)Get a list of functions for a device in scene status conditions abstract UnitgetActionDeviceDpAll(String deviceId, IResultCallback<List<<ERROR CLASS>>> callback)Get a list of functions for a device in scene actions abstract UnitgetActionGroupDeviceDpAll(String groupDeviceId, IResultCallback<List<<ERROR CLASS>>> callback)Get a list of functions for a group in scene actions abstract UnitgetActionFunctionAll(Long relationId, String devId, String groupId, IResultCallback<List<<ERROR CLASS>>> callback)Get a list of functions in scene actions abstract UnitgetConditionDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> callback)Get a list of devices that support device conditions abstract UnitgetConditionDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)Get a list of device ids that support device conditions abstract UnitgetStatusConditionDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> callback)Get a list of devices that support device status conditions abstract UnitgetStatusConditionDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)Get a list of device ids that support device status conditions abstract UnitgetActionDeviceAll(Long relationId, IResultCallback<<ERROR CLASS>> callback)Get a list of devices that support device actions abstract UnitgetActionDeviceIdAll(Long relationId, IResultCallback<<ERROR CLASS>> callback)Get a list of device ids that support device actions abstract UnitgetLockDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> callback)Get the list of door lock devices that support device conditions. abstract UnitgetLockDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)Get the list of door lock device ids that support device conditions. abstract UnitgetFaceDeviceAll(Long relationId, IResultCallback<List<DeviceBean>> callback)Get the list of face devices that support device conditions. abstract UnitgetFaceDeviceIdAll(Long relationId, IResultCallback<List<String>> callback)Get the list of face device ids that support device conditions. abstract UnitgetFaceMemberAll(Long relationId, IResultCallback<List<<ERROR CLASS>>> callback)Get a list of face recognition members abstract UnitonDestroy()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()
-
-
-
-