Difference between revisions of "Gyroscope"
From GiderosMobile
| Line 5: | Line 5: | ||
<br />  | <br />  | ||
The `Gyroscope` class is used to access gyroscope data. <br />  | The `Gyroscope` class is used to access gyroscope data. <br />  | ||
| − | <br />  | + | <br />{|-  | 
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {|-  | ||
| style="width: 50%;"|  | | style="width: 50%;"|  | ||
=== Methods ===  | === Methods ===  | ||
Revision as of 09:12, 23 August 2018
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
|}