Difference between revisions of "Accelerometer.isAvailable"
From GiderosMobile
Line 4: | Line 4: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
<translate><br /> | <translate><br /> | ||
− | Returns | + | Returns ''true'' if accelerometer is available for this platform, ''false'' otherwise.<br /> |
<br /></translate> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Line 10: | Line 10: | ||
</source> | </source> | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
− | '''<translate>Returns</translate>''' (bool) <translate> | + | '''<translate>Returns</translate>''' (bool) <translate>''true'' if accelerometer is available for this platform, ''false'' otherwise.</translate><br/> |
Revision as of 09:37, 24 August 2018
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.