Gyroscope

From GiderosMobile
Revision as of 08:56, 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.





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

Events

Constants