Skip to main content
Use this API to start listening for gyroscope data. Listening starts automatically when the API is called; register listeners with my.onGyroscopeChange and call my.stopGyroscope to stop.

Parameters

Code Example

my.onGyroscopeChange

Listen for gyroscope data

my.stopGyroscope

Stop the gyroscope