LINEAR_ACCELERATION constant

int const LINEAR_ACCELERATION

Linear accelerometer. The linear acceleration is the acceleration of the device minus the 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-linear

iOS documentation:

https://developer.apple.com/documentation/coremotion/cmdevicemotion/1616149-useracceleration

Implementation

static const int LINEAR_ACCELERATION = 10;