Accelerometer
From GiderosMobile
Supported platforms: android, ios
Available since: Gideros 2012.8
Description
The `Accelerometer` class is used to access accelerometer data.
{|-
| style="width: 50%;"|
Methods
Accelerometer.isAvailable - Accelerometer - does the accelerometer available?
Accelerometer.new - Creates new Accelerometer instance
Accelerometer:getAcceleration - Accelerometer - returns the 3-axis acceleration measured by the accelerometer
Accelerometer:start - Accelerometer - starts accelerometer updates
Accelerometer:stop - Accelerometer - starts accelerometer updates
| style="width: 50%;"|
Events
Constants
|}