Skip to main content
Version: 1.x

Taro.onBluetoothDeviceFound(CALLBACK)

使用方式同 wx.onBluetoothDeviceFound

示例代码

import Taro from '@tarojs/taro'

Taro.onBluetoothDeviceFound(devices => {
console.log(devices)
console.log(devices[0].advertisData)
})