Taro.offLocationChange(callback)
Un-listens to live geolocation change events.
Type
(callback: (res: CallbackResult) => void) => void
Parameters
Property | Type | Description |
---|---|---|
callback | (res: CallbackResult) => void | Callback function for real-time geolocation change events. |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.offLocationChange | ✔️ |