InclinometerReading InclinometerReading InclinometerReading InclinometerReading Class

Represents an inclinometer reading.

Syntax

Declaration

public sealed class InclinometerReadingpublic sealed class InclinometerReadingPublic NotInheritable Class InclinometerReading

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 summary

Gets the rotation in degrees around the x-axis.

Gets the rotation in degrees around the y-axis.

Gets the time at which the sensor reported the reading.

Gets the inclinometer's z-axis accuracy.

Gets the rotation in degrees around the z-axis.

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 float

    Property Value

    • float
      float
      float
      float

      The rotation in degrees around the x-axis.

  • 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

    Property 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 DateTime Timestamp { get; }Public ReadOnly Property Timestamp As DateTime

    Property Value

  • 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

    Property Value

  • 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

    Property Value

    • float
      float
      float
      float

      The rotation in degrees around the z-axis.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute

Details

Assembly

Windows.Devices.Sensors.dll