Difference between revisions of "Accelerometer.isAvailable"
From GiderosMobile
m (----) |
|||
Line 1: | Line 1: | ||
− | + | '''Available since:''' Gideros 2012.8<br/> | |
+ | '''Class:''' [[Accelerometer]]<br/> | ||
− | + | === Description === | |
− | + | Returns ''true'' if accelerometer is available for this platform, ''false'' otherwise. | |
− | |||
− | |||
− | |||
− | === | ||
− | |||
− | Returns ''true'' if accelerometer is available for this platform, ''false'' otherwise. | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
Line 15: | Line 9: | ||
</source> | </source> | ||
− | === | + | === Return values === |
− | ''' | + | '''Returns''' (bool) ''true'' if accelerometer is available for this platform, ''false'' otherwise. |
− | + | ||
− | + | ---- | |
{{Special:PrefixIndex/Accelerometer}} | {{Special:PrefixIndex/Accelerometer}} |
Revision as of 14:17, 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.