InclinometerReading InclinometerReading InclinometerReading InclinometerReading Class

Represents an inclinometer reading.

Syntax

Declaration

public sealed class InclinometerReadingpublic sealed class InclinometerReadingPublic NotInheritable Class InclinometerReadingpublic sealed 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 floatpublic float PitchDegrees { get; }

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

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

    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 MagnetometerAccuracypublic MagnetometerAccuracy YawAccuracy { get; }

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

    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.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Devices.Sensors.dll