Difference between revisions of "Accelerometer.isAvailable"

From GiderosMobile
(creating category test)
Line 17: Line 17:
 
=== <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/>
 +
 +
  
  
 
[[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.