Orientation​Sensor​Reading Orientation​Sensor​Reading Orientation​Sensor​Reading Class

Definition

Represents an orientation-sensor reading.

public : sealed class OrientationSensorReading : IOrientationSensorReading, IOrientationSensorReadingYawAccuracypublic sealed class OrientationSensorReading : IOrientationSensorReading, IOrientationSensorReadingYawAccuracyPublic NotInheritable Class OrientationSensorReading Implements IOrientationSensorReading, IOrientationSensorReadingYawAccuracy
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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..

Properties

Quaternion Quaternion Quaternion

Gets the Quaternion for the current orientation-sensor reading.

public : SensorQuaternion Quaternion { get; }public SensorQuaternion Quaternion { get; }Public ReadOnly Property Quaternion As SensorQuaternion
Value
SensorQuaternion SensorQuaternion SensorQuaternion

The Quaternion for the current orientation-sensor reading.

Attributes

RotationMatrix RotationMatrix RotationMatrix

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

public : SensorRotationMatrix RotationMatrix { get; }public SensorRotationMatrix RotationMatrix { get; }Public ReadOnly Property RotationMatrix As SensorRotationMatrix
Value
SensorRotationMatrix SensorRotationMatrix SensorRotationMatrix

The rotation matrix for the current orientation-sensor reading.

Attributes

Timestamp Timestamp Timestamp

Gets the time at which the sensor reported the reading.

public : DateTime Timestamp { get; }public DateTimeOffset Timestamp { get; }Public ReadOnly Property Timestamp As DateTimeOffset
Value
DateTime DateTimeOffset DateTimeOffset

The time at which the sensor reported the reading.

Attributes

YawAccuracy YawAccuracy YawAccuracy

Gets the orientation sensor's z-axis accuracy.

public : MagnetometerAccuracy YawAccuracy { get; }public MagnetometerAccuracy YawAccuracy { get; }Public ReadOnly Property YawAccuracy As MagnetometerAccuracy
Value
MagnetometerAccuracy MagnetometerAccuracy MagnetometerAccuracy

The orientation sensor's z-axis accuracy.

Attributes

See Also