Share via


GyroscopeData Struct

Definition

Contains the axis readings measured by the device's gyroscope.

public value class GyroscopeData : IEquatable<Microsoft::Maui::Devices::Sensors::GyroscopeData>
public readonly struct GyroscopeData : IEquatable<Microsoft.Maui.Devices.Sensors.GyroscopeData>
type GyroscopeData = struct
Public Structure GyroscopeData
Implements IEquatable(Of GyroscopeData)
Inheritance
GyroscopeData
Implements

Constructors

GyroscopeData(Double, Double, Double)

Initializes a new instance of the GyroscopeData class.

GyroscopeData(Single, Single, Single)

Initializes a new instance of the GyroscopeData class.

Properties

AngularVelocity

Gets the angular velocity vector in radians per second.

Methods

Equals(GyroscopeData)

Compares the underlying AngularVelocity instances.

Equals(Object)

Compares the underlying GyroscopeData instances.

GetHashCode()

Get the hash code for object.

ToString()

Returns a string representation of the current values of AngularVelocity.

Operators

Equality(GyroscopeData, GyroscopeData)

Equality operator for equals.

Inequality(GyroscopeData, GyroscopeData)

Inequality operator.

Applies to