Difference between revisions of "Accelerometer.isAvailable"
From GiderosMobile
(creating category test) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | |||
<languages /> | <languages /> | ||
+ | |||
'''<translate>Available since</translate>:''' Gideros 2012.8<br/> | '''<translate>Available since</translate>:''' Gideros 2012.8<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Accelerometer|Accelerometer]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Accelerometer|Accelerometer]]<br/> | ||
+ | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | <translate | + | <translate> |
− | Returns ''true'' if accelerometer is available for this platform, ''false'' otherwise.<br /> | + | Returns ''true'' if accelerometer is available for this platform, ''false'' otherwise.<br/> |
− | + | </translate> | |
+ | |||
<source lang="lua"> | <source lang="lua"> | ||
(bool) = Accelerometer.isAvailable() | (bool) = Accelerometer.isAvailable() | ||
</source> | </source> | ||
+ | |||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (bool) <translate>''true'' if accelerometer is available for this platform, ''false'' otherwise.</translate><br/> | '''<translate>Returns</translate>''' (bool) <translate>''true'' if accelerometer is available for this platform, ''false'' otherwise.</translate><br/> | ||
+ | |||
+ | |||
+ | [[Category:Accelerometer]] |
Revision as of 06:09, 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.