Taro.offGyroscopeChange(callback)
Un-listens on the gyroscope data change event.
Type
(callback: (...args: any[]) => any) => void
Parameters
Property | Type | Description |
---|---|---|
callback | (...args: any[]) => any | The callback function for the gyroscope data change event. |
API Support
API | WeChat Mini-Program | H5 | React Native |
---|---|---|---|
Taro.offGyroscopeChange | ✔️ | ✔️ |