Difference between revisions of "Accelerometer.isAvailable"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source" to "</syntaxhighlight") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(bool) = Accelerometer.isAvailable() | (bool) = Accelerometer.isAvailable() | ||
− | </ | + | </syntaxhighlight> |
=== Return values === | === Return values === |
Latest revision as of 17:00, 12 July 2023
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.