Difference between revisions of "Accelerometer.isAvailable"

From GiderosMobile
(creating category test)
m (Text replacement - "</source" to "</syntaxhighlight")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
'''Available since:''' Gideros 2012.8<br/>
 +
'''Class:''' [[Accelerometer]]<br/>
  
<languages />
+
=== Description ===
 +
Returns ''true'' if accelerometer is available for this platform, ''false'' otherwise.
  
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
+
<syntaxhighlight lang="lua">
'''<translate>Class</translate>:''' [[Special:MyLanguage/Accelerometer|Accelerometer]]<br/>
 
 
 
=== <translate>Description</translate> ===
 
<translate>
 
Returns ''true'' if accelerometer is available for this platform, ''false'' otherwise.<br/>
 
</translate>
 
 
 
<source lang="lua">
 
 
(bool) = Accelerometer.isAvailable()
 
(bool) = Accelerometer.isAvailable()
</source>
+
</syntaxhighlight>
 
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if accelerometer is available for this platform, ''false'' otherwise.</translate><br/>
 
  
 +
=== Return values ===
 +
'''Returns''' (bool) ''true'' if accelerometer is available for this platform, ''false'' otherwise.
  
[[Category:Accelerometer]]
+
{{Accelerometer}}

Latest revision as of 17:00, 12 July 2023

Available since: Gideros 2012.8
Class: Accelerometer

Description

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

(bool) = Accelerometer.isAvailable()

Return values

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