Difference between revisions of "Accelerometer.isAvailable"
From GiderosMobile
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
− | + | '''Available since:''' Gideros 2012.8<br/> | |
+ | === Description === | ||
+ | <br /> | ||
+ | Returns `true` if accelerometer is available for this platform, `false` otherwise.<br /> | ||
+ | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (bool) = Accelerometer.isAvailable() | + | (bool), = Accelerometer.isAvailable() |
</source> | </source> | ||
− | + | '''Returns''' (bool) `true` if accelerometer is available for this platform, `false` otherwise.<br/> | |
− | |||
− | ''' |
Revision as of 10:05, 23 August 2018
Available since: Gideros 2012.8
Description
Returns `true` if accelerometer is available for this platform, `false` otherwise.
(bool), = Accelerometer.isAvailable()
Returns (bool) `true` if accelerometer is available for this platform, `false` otherwise.