Taro.startBluetoothDevicesDiscovery(OBJECT)
使用方式同 wx.startBluetoothDevicesDiscovery,支持 Promise 化使用。
示例代码
import Taro from '@tarojs/taro'
Taro.startBluetoothDevicesDiscovery(params).then(...)
使用方式同 wx.startBluetoothDevicesDiscovery,支持 Promise 化使用。
import Taro from '@tarojs/taro'
Taro.startBluetoothDevicesDiscovery(params).then(...)