Difference between revisions of "Accelerometer.isAvailable"

From GiderosMobile
Line 6: Line 6:
 
<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/>
 
'''Returns''' (bool) `true` if accelerometer is available for this platform, `false` otherwise.<br/>

Revision as of 11:21, 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.