GyrometerReading GyrometerReading GyrometerReading GyrometerReading Class

Represents a gyrometer reading.

Syntax

Declaration

public sealed class GyrometerReadingpublic sealed class GyrometerReadingPublic NotInheritable Class GyrometerReadingpublic sealed class GyrometerReading

Remarks

This object is accessed when you invoke the GetCurrentReading() method; and, it is accessed when you retrieve the Reading property of the GyrometerReadingChangedEventArgs object in the event callback method.

Properties summary

Gets the angular velocity, in degrees per second, about the x-axis.

Gets the angular velocity, in degrees per second, about the y-axis.

Gets the angular velocity, in degrees per second, about the z-axis.

Gets the time at which the sensor reported the reading.

Properties

  • AngularVelocityX
    AngularVelocityX
    AngularVelocityX
    AngularVelocityX

    Gets the angular velocity, in degrees per second, about the x-axis.

    public double AngularVelocityX { get; }public double AngularVelocityX { get; }Public ReadOnly Property AngularVelocityX As doublepublic double AngularVelocityX { get; }

    Property Value

    • double
      double
      double
      double

      The angular velocity, in degrees per second, about the x-axis.

  • AngularVelocityY
    AngularVelocityY
    AngularVelocityY
    AngularVelocityY

    Gets the angular velocity, in degrees per second, about the y-axis.

    public double AngularVelocityY { get; }public double AngularVelocityY { get; }Public ReadOnly Property AngularVelocityY As doublepublic double AngularVelocityY { get; }

    Property Value

    • double
      double
      double
      double

      The angular velocity, in degrees per second, about the y-axis.

  • AngularVelocityZ
    AngularVelocityZ
    AngularVelocityZ
    AngularVelocityZ

    Gets the angular velocity, in degrees per second, about the z-axis.

    public double AngularVelocityZ { get; }public double AngularVelocityZ { get; }Public ReadOnly Property AngularVelocityZ As doublepublic double AngularVelocityZ { get; }

    Property Value

    • double
      double
      double
      double

      The angular velocity, in degrees per second, about the z-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

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