Accelerometer.isAvailable

From GiderosMobile
Revision as of 17:00, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source" to "</syntaxhighlight")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.