stopScan method
停止扫描设备
Implementation
Future<void> stopScan() async {
try {
await _channel.invokeMethod('stopScan');
} on PlatformException catch (e) {
throw Exception('停止扫描失败: ${e.message}');
}
}
停止扫描设备
Future<void> stopScan() async {
try {
await _channel.invokeMethod('stopScan');
} on PlatformException catch (e) {
throw Exception('停止扫描失败: ${e.message}');
}
}