DeviceMotionEventAccelerationInit Class

The initialization dictionary of a DeviceMotionEventAcceleration (https://w3c.github.io/deviceorientation/#dictdef-devicemotioneventaccelerationinit).

public sealed class DeviceMotionEventAccelerationInit

Constructors

NameDescription
DeviceMotionEventAccelerationInit()

DeviceMotionEventAccelerationInit()

public DeviceMotionEventAccelerationInit()

No documentation is available.

Properties

NameDescription
XGets the acceleration along the X axis, in m/s², or null.
YGets the acceleration along the Y axis, in m/s², or null.
ZGets the acceleration along the Z axis, in m/s², or null.

Gets the acceleration along the X axis, in m/s², or null.

public double? X { get; init; }

Gets the acceleration along the Y axis, in m/s², or null.

public double? Y { get; init; }

Gets the acceleration along the Z axis, in m/s², or null.

public double? Z { get; init; }