OrientationSensorReading OrientationSensorReading OrientationSensorReading OrientationSensorReading OrientationSensorReading Class


Represents an orientation-sensor reading.

public : sealed class OrientationSensorReading
struct winrt::Windows::Devices::Sensors::OrientationSensorReading
public sealed class OrientationSensorReading
Public NotInheritable Class OrientationSensorReading
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


This object is accessed when you invoke the GetCurrentReading method; and, it is accessed when you retrieve the Reading property of the OrientationSensorReadingChangedEventArgs object in the event callback method..

Version history

Windows version SDK version Value added
1709 16299 PerformanceCount
1709 16299 Properties


PerformanceCount PerformanceCount PerformanceCount PerformanceCount PerformanceCount

Gets the performance count associated with the reading. This allows the reading to be synchronized with other devices and processes on the system.

Properties Properties Properties Properties Properties

Gets the data properties reported by the sensor.

Quaternion Quaternion Quaternion Quaternion Quaternion

Gets the Quaternion for the current orientation-sensor reading.

RotationMatrix RotationMatrix RotationMatrix RotationMatrix RotationMatrix

Gets the rotation matrix for the current orientation-sensor reading.

Timestamp Timestamp Timestamp Timestamp Timestamp

Gets the time at which the sensor reported the reading.

YawAccuracy YawAccuracy YawAccuracy YawAccuracy YawAccuracy

Gets the orientation sensor's z-axis accuracy.

See also