CompassData Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the orientation of the user's device.
public value class CompassData : IEquatable<Microsoft::Maui::Devices::Sensors::CompassData>
public readonly struct CompassData : IEquatable<Microsoft.Maui.Devices.Sensors.CompassData>
type CompassData = struct
Public Structure CompassData
Implements IEquatable(Of CompassData)
- Inheritance
-
CompassData
- Implements
Constructors
| CompassData(Double) |
Initializes a new instance of the CompassData class. |
Properties
| HeadingMagneticNorth |
The heading (measured in degrees) relative to magnetic north. |
Methods
| Equals(CompassData) |
Compares the underlying HeadingMagneticNorth instances. |
| Equals(Object) |
Compares the underlying CompassData instances. |
| GetHashCode() |
Get the hash code for object. |
| ToString() |
Returns a string representation of the current values of HeadingMagneticNorth. |
Operators
| Equality(CompassData, CompassData) |
Equality operator for equals. |
| Inequality(CompassData, CompassData) |
Inequality operator. |