title: Taro.stopDeviceMotionListening(callback)
sidebar_label: stopDeviceMotionListening
停止监听设备方向的变化。
参数
Name | Type | Default | Description |
---|---|---|---|
success | function |
接口调用成功的回调函数 | |
fail | function |
接口调用失败的回调函数 | |
complete | function |
接口调用结束的回调函数(调用成功、失败都会执行) |
API支持度
API | 微信小程序 | H5 | React Native |
---|---|---|---|
Taro.stopDeviceMotionListening | ✔️ | ✔️ | ✔️ |