DeviceManage class
设备管理
- Inheritance
-
- Object
- WisystemSDk
- DeviceManage
Constructors
- DeviceManage()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addDeviceChangeObserver(
void event(dynamic data)) → StreamSubscription - 监听设备信息发生变化
-
bindRelay(
String superDeviceId, String deviceId) → Future< bool> - 绑定网关
-
deleteDevices(
String deviceId) → Future< bool> - 删除设备
-
device(
String deviceId) → Future< Map< String, dynamic> ?> - 获得指定设备的信息
-
deviceList(
) → Future< List> - 获得设备列表
-
deviceUserList(
String deviceId) → Future - 查询指定设备的用户列表
-
freezeOrUnfreeze(
String deviceId, String freezeUserUuid, bool isFreeze) → Future< bool> - 冻结或者解冻用户
-
getDeviceSoftwareFunction(
String deviceId) → Future< DeviceSoftwareInfo?> - 获得设备软件的支持信息
-
getDeviceStateInfo(
String deviceId) → Future< StateCode?> - 获得设备的状态信息
-
isDeviceFunction(
String deviceId, DeviceFunctionType type) → Future< bool> - 查询指定设备是否 支持指定的功能或者是硬件
-
lockRecord(
String deviceId, int page) → Future - 获得开锁记录
-
manageDeleteDeviceUser(
String deviceId, String deleteUserUuid) → Future< bool> - 管理员或者高等级用户,删除用户
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refurbishAllDevice(
) → Future< bool> - 刷新所有设备的数据
-
refurbishDevice(
String deviceId) → Future< bool> - 刷新指定设备的数据
-
removeDeviceChangeObserver(
{StreamSubscription? subscription}) → dynamic - 取消监听设备信息发生变化 当参数subscription不为空代表取消指定监听,为空代表取消所有监听
-
sendDevice(
String userId, String deviceId, String startDate, String endDate, String authType, String repeatType) → Future< bool> - 发送设备
-
toString(
) → String -
A string representation of this object.
inherited
-
translationDevice(
String userId, String deviceId) → Future< bool> - 转让设备
-
unbindRelay(
String deviceId) → Future< bool> - 解绑绑定网关
-
updateDeviceName(
String deviceId, String deviceName) → Future< bool> - 修改设备名称
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → DeviceManage
-
no setter