InclinometerReading InclinometerReading InclinometerReading InclinometerReading Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Represents an inclinometer reading.

public : sealed class InclinometerReading : IInclinometerReading, IInclinometerReadingYawAccuracypublic sealed class InclinometerReading : IInclinometerReading, IInclinometerReadingYawAccuracyPublic NotInheritable Class InclinometerReading Implements IInclinometerReading, IInclinometerReadingYawAccuracy// You can use this class in JavaScript.
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

PerformanceCount PerformanceCount PerformanceCount PerformanceCount

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

public : IReference<TimeSpan> PerformanceCount { get; }public Nullable<TimeSpan> PerformanceCount { get; }Public ReadOnly Property PerformanceCount As Nullable<TimeSpan>// You can use this property in JavaScript.
Value
IReference<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan> Nullable<TimeSpan>

The performance count for the reading. Null if this property is not supported on the sensor.

Additional features and requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

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 float// You can use this property in JavaScript.
Value
float float float float

The rotation in degrees around the x-axis.

Properties Properties Properties Properties

Prerelease. Gets the data properties reported by the sensor.

public : IMapView<string, object> Properties { get; }public IReadOnlyDictionary<string, object> Properties { get; }Public ReadOnly Property Properties As IReadOnlyDictionary<string, object>// You can use this property in JavaScript.
Value
IMapView<PlatForm::String, PlatForm::Object> IReadOnlyDictionary<string, object> IReadOnlyDictionary<string, object> IReadOnlyDictionary<string, object>

Contains a key/value pair for each data property reported by the sensor for the given reading. The key is a string of the property key, and the value is the value of the property that the key represents.

Additional features and requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

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 float// You can use this property in JavaScript.
Value
float float float float

The rotation in degrees around the y-axis.

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 DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The time at which the sensor reported the reading.

YawAccuracy YawAccuracy YawAccuracy YawAccuracy

Gets the inclinometer's z-axis accuracy.

public : MagnetometerAccuracy YawAccuracy { get; }public MagnetometerAccuracy YawAccuracy { get; }Public ReadOnly Property YawAccuracy As MagnetometerAccuracy// You can use this property in JavaScript.

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 float// You can use this property in JavaScript.
Value
float float float float

The rotation in degrees around the z-axis.

See Also