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 struct CompassData : IEquatable<Xamarin.Essentials.CompassData>
[System.Runtime.CompilerServices.IsReadOnly]
public struct CompassData : IEquatable<Xamarin.Essentials.CompassData>
- Inheritance
-
System.ValueTypeCompassData
- Attributes
-
System.Runtime.CompilerServices.IsReadOnlyAttribute
- Implements
-
System.IEquatable<CompassData>
Constructors
| CompassData(Double) |
Public constructor. |
Properties
| HeadingMagneticNorth |
The heading (measured in degrees) relative to magnetic north. |
Methods
| Equals(CompassData) |
Compares the underlying doubles. |
| Equals(Object) |
If equal to another object |
| GetHashCode() |
Get the hash code for object. |
| ToString() |
Current string representation of the data. |
Operators
| Equality(CompassData, CompassData) |
Equality operator for equals |
| Inequality(CompassData, CompassData) |
Inequality check |