title: Taro.onBluetoothDeviceFound(CALLBACK)
sidebar_label: onBluetoothDeviceFound
使用方式同 wx.onBluetoothDeviceFound。
示例代码
import Taro from '@tarojs/taro'Taro.onBluetoothDeviceFound(devices => {console.log(devices)console.log(devices[0].advertisData)})
