Difference between revisions of "Gyroscope.isAvailable"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2012.8<br/>
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
+
'''Class:''' [[Gyroscope]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Gyroscope|Gyroscope]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Returns ''true'' if gyroscope is available for this platform, ''false'' otherwise.
Returns ''true'' if gyroscope is available for this platform, ''false'' otherwise.<br />
 
<br /></translate>
 
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(bool) = Gyroscope.isAvailable()
 
(bool) = Gyroscope.isAvailable()
 
</syntaxhighlight>
 
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if gyroscope is available for this platform, ''false'' otherwise.</translate><br/>
+
=== Return values ===
 +
'''Returns''' (bool) ''true'' if gyroscope is available for this platform, ''false'' otherwise<br/>
  
 
{{Gyroscope}}
 
{{Gyroscope}}

Latest revision as of 17: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