Difference between revisions of "Gyroscope.isAvailable"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.8<br/> === Description === <br /> Returns `true` if gyroscope is available for this platform, `false` otherwise.<br /> <br /> <so...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2012.8<br/> | + | <languages /> |
− | === Description === | + | '''<translate>Available since</translate>:''' Gideros 2012.8<br/> |
− | <br /> | + | '''<translate>Class</translate>:''' [[Special:MyLanguage/Gyroscope|Gyroscope]]<br/> |
− | Returns | + | === <translate>Description</translate> === |
− | <br /> | + | <translate><br /> |
− | < | + | Returns ''true'' if gyroscope is available for this platform, ''false'' otherwise.<br /> |
− | (bool) | + | <br /></translate> |
− | </ | + | <syntaxhighlight lang="lua"> |
− | '''Returns''' (bool) | + | (bool) = Gyroscope.isAvailable() |
+ | </syntaxhighlight> | ||
+ | === <translate>Return values</translate> === | ||
+ | '''<translate>Returns</translate>''' (bool) <translate>''true'' if gyroscope is available for this platform, ''false'' otherwise.</translate><br/> | ||
+ | |||
+ | {{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.