目录
兼容性:企业微信
监听 iBeacon 服务的状态变化。
ww.onBeaconServiceChange(function(event) {
console.log(event)
})
参数
event: Object
属性 | 类型 | 必填 | 说明 | |
---|---|---|---|---|
available | boolean | 是 | 服务目前是否可用 | |
discovering | boolean | 是 | 目前是否处于搜索状态 |
wx.onBeaconServiceChange(function(event) {
console.log(event)
})