InclinometerReading InclinometerReading InclinometerReading InclinometerReading Class

Definition

Represents an inclinometer reading.

public sealed class InclinometerReadingpublic sealed class InclinometerReadingPublic NotInheritable Class InclinometerReadingpublic sealed class InclinometerReading
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 PitchDegrees

Gets the rotation in degrees around the x-axis.

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

The rotation in degrees around the x-axis.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

RollDegrees 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 floatpublic float RollDegrees { get; }
Value
float float float float

The rotation in degrees around the y-axis.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Timestamp 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 DateTimeOffsetpublic DateTime Timestamp { get; }
Value
DateTime DateTime DateTime DateTime

The time at which the sensor reported the reading.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

YawAccuracy YawAccuracy YawAccuracy YawAccuracy

Gets the inclinometer's z-axis accuracy.

public MagnetometerAccuracy YawAccuracy { get; }public MagnetometerAccuracy YawAccuracy { get; }Public ReadOnly Property YawAccuracy As MagnetometerAccuracypublic MagnetometerAccuracy YawAccuracy { get; }
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

YawDegrees 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 floatpublic float YawDegrees { get; }
Value
float float float float

The rotation in degrees around the z-axis.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)