Difference between revisions of "Accelerometer.isAvailable"

From GiderosMobile
Line 8: Line 8:
 
(bool) = Accelerometer.isAvailable()
 
(bool) = Accelerometer.isAvailable()
 
</source>
 
</source>
 +
=== Return values ===
 
'''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 10:46, 23 August 2018

Available since: Gideros 2012.8

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.