This section provides the APIs for sensors that detect the orientation of the device:
•3D Accelerometer
3D accelerometer functions.
•Motion Sensor
Motion Sensor with support for accelerometer, gyroscope, and magnetometer.