位置 /wx.onLocationChangeError /
wx.onLocationChangeError(function listener)
基础库 2.19.5 开始支持,低版本需做兼容处理。
小程序插件:不支持
微信 鸿蒙 OS 版:支持
功能描述
监听持续定位接口返回失败时触发。
参数
function listener
的监听函数
参数
Object res
属性 | 类型 | 说明 |
errCode | number | 错误码 |
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.