ScannerGun class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
cancelDiscovery(
) → Future< void> - 关闭发现设备 ( 取消扫描 )
-
closeSocket(
) → Future< void> -
connect(
BtDeviceModel device) → Future< void> - 连接蓝牙设备
-
getBindDevices(
) → Future< List< BtDeviceModel> > - 获取本地绑定的设备
-
getDevices(
) → Future< List< BtDeviceModel> > - 获取设备列表
-
isConnect(
BtDeviceModel deviceModel) → Future< bool?> -
scan(
) → Future< void> - 开始扫描周边蓝牙设备