Skip to main content
Version: 3.x

Taro.onBeaconUpdate(callback)

Listens on the iBeacon device update event.

Reference

Type

(callback: Callback) => void

Parameters

Callback

The callback function for the iBeacon device update event.

(result: CallbackResult) => void
PropertyType
resultCallbackResult

CallbackResult

PropertyTypeDescription
beaconsIBeaconInfo[]The list of all iBeacon devices discovered

API Support

APIWeChat Mini-ProgramH5React Native
Taro.onBeaconUpdate✔️