startsSearchDevices method
开启搜索设备
timeout超时时间
Implementation
Future<bool> startsSearchDevices({int timeout = 25000}) async {
// 权限申请 判断是否支持蓝牙 开启蓝牙
//注册回调
bool success = await JFApi.xcNet.xcBlueToothSearchStart();
isSearching = true;
_setEventFor();
// 权限申请 判断是否支持蓝牙 开启蓝牙
// //注册回调
// //调用开始扫描设备
// await JFApi.xcNet.xcBlueToothSearchStart();
// _setEventFor();
return Future.value(success);
}