Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

accelerationIncludingGravity property

Returns a DeviceAcceleration object representing the acceleration (in m/s²), including the effect of gravity, of the host device in motion along the X, Y, and Z axes.

This property is read-only.




ptr = object.accelerationIncludingGravity


Property values

Type: DeviceAcceleration

Standards information


The value of accelerationIncludingGravity is typically less useful in cases where a non-null value of the acceleration property (which represents the acceleration of the host device independent of the effect of gravity) is available. This property is primarily intended to be of use when the host device is unable to provide acceleration data without the effect of gravity (for example, when lacking a gyroscope).

See also




© 2015 Microsoft