DeviceAcceleration object

Represents the acceleration (in m/s2) of the host device in motion along the X, Y, and Z axes.

IE11

 

DOM Information

Inheritance Hierarchy

The DeviceAcceleration does not inherit from any class or interface.

Members

The DeviceAcceleration object has these types of members:

Properties

The DeviceAcceleration object has these properties.

PropertyAccess typeDescription

x

Read-only

Describes the acceleration (in m/s2) of the host device in motion along the X, axis.

y

Read-only

Describes the acceleration (in m/s2) of the host device in motion along the Y, axis.

z

Read-only

Describes the acceleration (in m/s2) of the host device in motion along the Z, axis.

 

Standards information

Remarks

Acceleration of the host device is relative to the following Earth coordinate frame at the user's location:

  • The X axis is in the ground plane, perpendicular to the North axis and positive towards the East
  • The Y axis is in the ground plane and positive towards True North (towards the North Pole).
  • The Z axis is perpendicular to the ground plane and positive upwards.

 

 

Show:
© 2014 Microsoft