Contents

accelerationIncludingGravity

The total acceleration of the device, which includes the user acceleration and the gravity.

Declaration

readonly attribute Acceleration accelerationIncludingGravity;

Discussion

The acceleration data is expressed in m/s^2 and use the x, y, and z axis properties described in acceleration. This property is never null because every Apple device has an accelerometer.

Use the acceleration property to get the user acceleration only.

See Also

Getting Motion Event Properties