Difference between revisions of "Accelerometer.isAvailable"

From GiderosMobile
Line 5: Line 5:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
==== Return value ====
+
=== Return value ===
 
'''bool:''' `true` if accelerometer is available for this platform, `false` otherwise.
 
'''bool:''' `true` if accelerometer is available for this platform, `false` otherwise.

Revision as of 00:08, 22 August 2018

Returns true if accelerometer is available for this platform, false otherwise.

(bool) = Accelerometer.isAvailable()

Return value

bool: `true` if accelerometer is available for this platform, `false` otherwise.