Inclinometer​Reading Inclinometer​Reading Inclinometer​Reading Class

Definition

Represents an inclinometer reading.

public : sealed class InclinometerReading : IInclinometerReading, IInclinometerReadingYawAccuracypublic sealed class InclinometerReading : IInclinometerReading, IInclinometerReadingYawAccuracyPublic NotInheritable Class InclinometerReading Implements IInclinometerReading, IInclinometerReadingYawAccuracy
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 InclinometerReadingChangedEventArgs object in the event callback method.

Properties

PitchDegrees PitchDegrees PitchDegrees

Gets the rotation in degrees around the x-axis.

public : float PitchDegrees { get; }public float PitchDegrees { get; }Public ReadOnly Property PitchDegrees As float
Value
float float float

The rotation in degrees around the x-axis.

Attributes

RollDegrees RollDegrees RollDegrees

Gets the rotation in degrees around the y-axis.

public : float RollDegrees { get; }public float RollDegrees { get; }Public ReadOnly Property RollDegrees As float
Value
float float float

The rotation in degrees around the y-axis.

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 inclinometer's z-axis accuracy.

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

The inclinometer's z-axis accuracy.

Attributes

YawDegrees YawDegrees YawDegrees

Gets the rotation in degrees around the z-axis.

public : float YawDegrees { get; }public float YawDegrees { get; }Public ReadOnly Property YawDegrees As float
Value
float float float

The rotation in degrees around the z-axis.

Attributes

See Also