scanResults property
Stream<BluetoothScanResult>
get
scanResults
监听扫描结果。
无参数。先订阅该流再调用 startScan 可避免漏掉早期结果;Android Classic 结果通常缺少 service/manufacturer 数据,iOS/macOS 仅返回 BLE 外设;Linux 返回 BlueZ Device1 发现结果并使用地址作为设备 ID;Windows 返回 BLE 广播结果并使用蓝牙地址作为 设备 ID;Web 每次 startScan 成功只返回用户选择的一条 BLE 设备结果。
Implementation
Stream<BluetoothScanResult> get scanResults {
throw UnimplementedError('scanResults has not been implemented.');
}