Difference between revisions of "Gyroscope"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2012.8<br/> === Description === <br /> The `Gyroscope` class is used to access gyroscope data. <br />...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
'''Supported platforms:''' android, ios<br/>
 
'''Available since:''' Gideros 2012.8<br/>
 
'''Available since:''' Gideros 2012.8<br/>
 
=== Description ===
 
=== Description ===
Line 6: Line 6:
 
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 ===
 +
[[Gyroscope.isAvailable]] - Gyroscope - does the gyroscope available?<br/>
 +
[[Gyroscope.new]] - Creates new Gyroscope instance<br/>
 +
[[Gyroscope:getRotationRate]] - Gyroscope - returns the rotation rate in radians per second<br/>
 +
[[Gyroscope:start]] - Gyroscope - starts gyroscope updates<br/>
 +
[[Gyroscope:stop]] - Gyroscope - stops gyroscope updates<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 08:56, 23 August 2018

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