Difference between revisions of "Accelerometer.isAvailable"

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

Revision as of 13:34, 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.