Difference between revisions of "Gyroscope.isAvailable"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.8<br/> === Description === <br /> Returns `true` if gyroscope is available for this platform, `false` otherwise.<br /> <br /> <so...")
 
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2012.8<br/>
 
'''Available since:''' Gideros 2012.8<br/>
 +
'''Class:''' [[Gyroscope]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Returns ''true'' if gyroscope is available for this platform, ''false'' otherwise.
Returns `true` if gyroscope is available for this platform, `false` otherwise.<br />
+
<syntaxhighlight lang="lua">
<br />
+
(bool) = Gyroscope.isAvailable()
<source lang="lua">
+
</syntaxhighlight>
(bool), = Gyroscope.isAvailable()
+
 
</source>
+
=== Return values ===
'''Returns''' (bool) `true` if gyroscope is available for this platform, `false` otherwise.<br/>
+
'''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