Difference between revisions of "Accelerometer.isAvailable"

From GiderosMobile
Line 1: Line 1:
Returns '''true''' if accelerometer is available for this platform, '''false''' otherwise.
+
__NOTOC__
 
+
'''Available since:''' Gideros 2012.8<br/>
 +
=== Description ===
 +
<br />
 +
Returns `true` if accelerometer is available for this platform, `false` otherwise.<br />
 +
<br />
 
<source lang="lua">
 
<source lang="lua">
(bool) = Accelerometer.isAvailable()
+
(bool), = Accelerometer.isAvailable()
 
</source>
 
</source>
 
+
'''Returns''' (bool) `true` if accelerometer is available for this platform, `false` otherwise.<br/>
=== Return value ===
 
'''bool:''' `true` if accelerometer is available for this platform, `false` otherwise.
 

Revision as of 10:05, 23 August 2018

Available since: Gideros 2012.8

Description


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

(bool), = Accelerometer.isAvailable()

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