Difference between revisions of "Gyroscope.isAvailable"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 9: | Line 9: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(bool) = Gyroscope.isAvailable() | (bool) = Gyroscope.isAvailable() | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (bool) <translate>''true'' if gyroscope is available for this platform, ''false'' otherwise.</translate><br/> | '''<translate>Returns</translate>''' (bool) <translate>''true'' if gyroscope is available for this platform, ''false'' otherwise.</translate><br/> | ||
{{Gyroscope}} | {{Gyroscope}} |
Latest revision as of 14:29, 13 July 2023
Available since: Gideros 2012.8
Class: Gyroscope
Description
Returns true if gyroscope is available for this platform, false otherwise.
(bool) = Gyroscope.isAvailable()
Return values
Returns (bool) true if gyroscope is available for this platform, false otherwise.