Skip to main content
AccelerometerReading.AccelerationZ | accelerationZ property

Applies to Windows and Windows Phone

Gets the g-force acceleration along the z-axis.

Syntax


var accelerationZ = accelerometerReading.accelerationZ;

public double AccelerationZ { get; }

Public ReadOnly Property AccelerationZ As Double

public:
property double AccelerationZ { 
   double get();
}

Property value

Type: Number [JavaScript] | System.Double [.NET] | float64 [C++]

The g-force acceleration along the z-axis.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Sensors
Windows::Devices::Sensors [C++]

Metadata

Windows.winmd

See also

AccelerometerReading