BleScanningTask class

扫描任务

Properties

disposed bool
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addDeviceUpdateListener(ScanningListener listener) → void
添加一个设备更新监听
dispose() → void
释放,释放后则不能在开启
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeDeviceUpdateListener(ScanningListener listener) → void
移除一个设备更新监听
scanDevices({List<DevicesFilter>? filters}) → void
开始扫描设备
stopScan() → void
停止扫描设备,停止后可以重新开启
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited