ACCELEROMETER constant

int const ACCELEROMETER

Accelerometer sensor. Sensor that measures the acceleration applied to the device, including the force of gravity. This sensor returns a 3 axis (x, y & z) list of values. Consider that the values in Android are (m/s^2) meanwhile iOS uses G's (Gravitational force).

Android documentation:

https://developer.android.com/guide/topics/sensors/sensors_motion#sensors-motion-accel

iOS documentation:

https://developer.apple.com/documentation/coremotion/cmacceleration

Implementation

static const int ACCELEROMETER = 1;