Skip to main content

Windows Dev Center

InclinometerReading class

Represents an inclinometer reading.

Syntax


/* For information about creating or accessing this object, see Remarks. */

public sealed class InclinometerReading

Public NotInheritable Class InclinometerReading

public ref class InclinometerReading sealed 

Attributes

[ DualApiPartition()]
[ MarshalingBehavior(Agile)]
[ Threading(Both)]
[ Version(0x06020000)]

Members

The InclinometerReading class has these types of members:

Properties

The InclinometerReading class has these properties.

PropertyAccess typeDescription

PitchDegrees

Read-onlyGets the rotation in degrees around the x-axis.

RollDegrees

Read-onlyGets the rotation in degrees around the y-axis.

Timestamp

Read-onlyGets the time at which the sensor reported the reading.

YawAccuracy

Read-onlyGets the inclinometer's z-axis accuracy.

YawDegrees

Read-onlyGets the rotation in degrees around the z-axis.

 

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.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Sensors
Windows::Devices::Sensors [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

None supported [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Sensors
Windows::Devices::Sensors [C++]

Metadata

Windows.winmd

See also

Object
Sensor data and display orientation