Accelerometer.isAvailable: Difference between revisions
From GiderosMobile
No edit summary |
m Text replacement - "</source" to "</syntaxhighlight" |
||
| (16 intermediate revisions by 2 users not shown) | |||
| 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 | |||
<syntaxhighlight lang="lua"> | |||
< | |||
(bool) = Accelerometer.isAvailable() | (bool) = Accelerometer.isAvailable() | ||
</ | </syntaxhighlight> | ||
=== | |||
''' | === Return values === | ||
'''Returns''' (bool) ''true'' if accelerometer is available for this platform, ''false'' otherwise. | |||
{{Accelerometer}} | |||
Latest revision as of 16:00, 12 July 2023
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.