Unlock class
- Inheritance
-
- Object
- WisystemSDk
- Unlock
Constructors
- Unlock()
-
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
-
bleUnlock(
String deviceId, {bool isVibrate = false}) → dynamic - 开启指定设备 deviceId代表开启指定设备
-
bleUnlocks(
{bool isVibrate = false, dynamic success(Map map)?, dynamic foundMultipleDevices(Map map)?, dynamic fail(PlatformException e)?}) → dynamic - 开启附近设备
-
longUnlock(
String deviceId, {bool isVibrate = false}) → dynamic - 远程开启指定设备 deviceId代表开启指定设备
-
nearbyDevice(
dynamic scanDevice(int rssi, String? deviceId)) → dynamic - 扫描附近可以开启的设备1秒钟,返回信号最强的设备,如果没有发现设备这返回null
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scanUnlock(
dynamic scanDevice(int rssi, String deviceId)) → dynamic - 扫描附近可以开启的设备
-
stopScanUnlock(
) → dynamic - 停止扫描附近可以开启的设备
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited