Difference between revisions of "Accelerometer.isAvailable"

From GiderosMobile
Line 16: Line 16:
  
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (bool) <translate>''true'' if accelerometer is available for this platform, ''false'' otherwise.</translate><br/>
+
'''<translate>Returns</translate>''' (bool) <translate>''true'' if accelerometer is available for this platform, ''false'' otherwise.</translate>
 
+
<br/>
 
+
<br/>
  
  
 
[[Category:Accelerometer]]
 
[[Category:Accelerometer]]

Revision as of 06:39, 2 December 2019



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.