Accelerometer.isAvailable

From GiderosMobile
Revision as of 17:46, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2012.8
Class: Accelerometer

Description

Returns true if accelerometer is available for this platform, false otherwise.

<syntaxhighlight lang="lua"> (bool) = Accelerometer.isAvailable() </source>

Return values

Returns (bool) true if accelerometer is available for this platform, false otherwise.