Skip to main content
Version: Next

Taro.offLocationChange(callback)

Un-listens to live geolocation change events.

Reference

Type

(callback: (res: CallbackResult) => void) => void

Parameters

PropertyTypeDescription
callback(res: CallbackResult) => voidCallback function for real-time geolocation change events.

API Support

APIWeChat Mini-ProgramH5React Native
Taro.offLocationChange✔️