Difference between revisions of "Gyroscope.isAvailable"

From GiderosMobile
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
+
'''Available since:''' Gideros 2012.8<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Gyroscope]]<br/>
<translate><br />
+
 
Returns [[Special:MyLanguage/true|true]] if gyroscope is available for this platform, [[Special:MyLanguage/false|false]] otherwise.<br />
+
=== Description ===
<br /></translate>
+
Returns ''true'' if gyroscope is available for this platform, ''false'' otherwise.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(bool) = Gyroscope.isAvailable()
 
(bool) = Gyroscope.isAvailable()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (bool) <translate>[[Special:MyLanguage/true|true]] if gyroscope is available for this platform, [[Special:MyLanguage/false|false]] otherwise.</translate><br/>
+
=== Return values ===
 +
'''Returns''' (bool) ''true'' if gyroscope is available for this platform, ''false'' otherwise<br/>
 +
 
 +
{{Gyroscope}}

Latest revision as of 18:40, 12 January 2025

Available since: Gideros 2012.8
Class: Gyroscope

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