# wx.onBeaconUpdate(function callback)
Start from base library version 1.2.0. Please remaining backward compatible.
with Promise style call: Not supported
Mini Program plugin: Support, need to Mini Program base library version no less than 1.9.6
to monitor Beacon Device update event, only one listener can be registered
# parameter
# function callback
Beacon Callback function for device update event
# parameter
# Object res
attribute | type | Introductions |
---|---|---|
beacons | Array.<BeaconInfo> | All currently searched Beacon Equipment list |