Gyroscope

From GiderosMobile
Revision as of 09:12, 23 August 2018 by Hgy29 (talk | contribs)

Supported platforms: android, ios
Available since: Gideros 2012.8

Description


The `Gyroscope` class is used to access gyroscope data.

{|- | style="width: 50%;"|

Methods

Gyroscope.isAvailable - Gyroscope - does the gyroscope available?
Gyroscope.new - Creates new Gyroscope instance
Gyroscope:getRotationRate - Gyroscope - returns the rotation rate in radians per second
Gyroscope:start - Gyroscope - starts gyroscope updates
Gyroscope:stop - Gyroscope - stops gyroscope updates
| style="width: 50%;"|

Events

Constants

|}