CompassData Struct
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
Compass |
Initializes a new instance of the CompassData class. |
Heading |
The heading (measured in degrees) relative to magnetic north. |
Equals(Compass |
Compares the underlying HeadingMagneticNorth instances. |
Equals(Object) |
Compares the underlying CompassData instances. |
Get |
Get the hash code for object. |
To |
Returns a string representation of the current values of HeadingMagneticNorth. |
Equality(Compass |
Equality operator for equals. |
Inequality(Compass |
Inequality operator. |
Производ | Верзије |
---|---|
.NET MAUI | 8, 9 |
.NET MAUI повратне информације
.NET MAUI је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: