Difference between revisions of "Gyroscope.isAvailable"

From GiderosMobile
Line 3: Line 3:
 
=== Description ===
 
=== Description ===
 
<translate><br />
 
<translate><br />
Returns [[true]] if gyroscope is available for this platform, [[false]] otherwise.<br />
+
Returns [[Special:MyLanguage/true|true]] if gyroscope is available for this platform, [[Special:MyLanguage/false|false]] otherwise.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
Line 9: Line 9:
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (bool) <translate>[[true]] if gyroscope is available for this platform, [[false]] otherwise.</translate><br/>
+
'''Returns''' (bool) <translate>[[Special:MyLanguage/true|true]] if gyroscope is available for this platform, [[Special:MyLanguage/false|false]] otherwise.</translate><br/>

Revision as of 16:33, 23 August 2018

Available since: Gideros 2012.8

Description


Returns true if gyroscope is available for this platform, false otherwise.

(bool) = Gyroscope.isAvailable()

Return values

Returns (bool) true if gyroscope is available for this platform, false otherwise.