If the TYPE_ROTATION_VECTOR is not available (e.g. on cheaper or older Android devices)
use TYPE_GEOMAGNETIC_ROTATION_VECTOR as fallback. That's increases the support for
more Android devices.
Similar to TYPE_ROTATION_VECTOR, but using a magnetometer instead of using a gyroscope. This sensor uses lower power than the other rotation vectors, because it doesn't use the gyroscope. However, it is more noisy and will work best outdoors.
If the
TYPE_ROTATION_VECTOR
is not available (e.g. on cheaper or older Android devices) useTYPE_GEOMAGNETIC_ROTATION_VECTOR
as fallback. That's increases the support for more Android devices.TYPE_GEOMAGNETIC_ROTATION_VECTOR is: