Accelerometer.isAvailable

From GiderosMobile
Revision as of 00:07, 22 August 2018 by Anthony (talk | contribs)

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

(bool) = Accelerometer.isAvailable()

Return value

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