Skip to main content
Version: Next

Taro.offGyroscopeChange(callback)

Un-listens on the gyroscope data change event.

Reference

Type

(callback: (...args: any[]) => any) => void

Parameters

PropertyTypeDescription
callback(...args: any[]) => anyThe callback function for the gyroscope data change event.

API Support

APIWeChat Mini-ProgramH5React Native
Taro.offGyroscopeChange✔️✔️