title: Taro.offLocationChange(callback)

sidebar_label: offLocationChange

Un-listens to live geolocation change events.

Reference

Type

  1. (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 ✔️