ROTATION constant
int
const ROTATION
Rotation sensor. Represent the orientation of the device. Android: Returns a list of 3 values for each axis (x, y & z). The rotation matrix an azimuth must be computed manually given that this sensor only gives the raw values. iOS: Returns a list but with only one value (index 0) with the azimuth computed by the system.
Android documentation:
https://developer.android.com/guide/topics/sensors/sensors_motion#sensors-motion-rotate
iOS documentation:
https://developer.apple.com/documentation/corelocation/clheading
Implementation
static const int ROTATION = 11;