Table of Contents

Accelerometer.isAvailable

Available since version: Gideros 2012.8

Description:

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

Syntax:

(bool) = Accelerometer.isAvailable()

Return value:

  • bool: `true` if accelerometer is available for this platform, `false` otherwise.