目录
兼容性:企业微信
监听 iBeacon 设备的更新事件。
ww.onBeaconUpdate(function(event) { console.log(event) })
参数
event: Object
当前搜寻到的所有 iBeacon 设备列表
iBeacon 设备广播的 uuid
iBeacon 设备的主 id
iBeacon 设备的次 id
表示设备距离的枚举值, 0 信号太弱不足以计算距离, 或非 iOS 设备; 1 十分近; 2 比较近; 3 远;
iBeacon 设备的距离
表示设备的信号强度
wx.onBeaconUpdate(function(event) { console.log(event) })