MagnetometerData 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 pressure measured by the user's device magnetometer.
public value class MagnetometerData : IEquatable<Microsoft::Maui::Devices::Sensors::MagnetometerData>
public readonly struct MagnetometerData : IEquatable<Microsoft.Maui.Devices.Sensors.MagnetometerData>
type MagnetometerData = struct
Public Structure MagnetometerData
Implements IEquatable(Of MagnetometerData)
- Inheritance
-
MagnetometerData
- Implements
Constructors
| MagnetometerData(Double, Double, Double) |
Initializes a new instance of the MagnetometerData class. |
| MagnetometerData(Single, Single, Single) |
Initializes a new instance of the MagnetometerData class. |
Properties
| MagneticField |
Gets the magnetic field vector in microteslas (µ). |
Methods
| Equals(MagnetometerData) |
Compares the underlying MagneticField instances. |
| Equals(Object) |
Compares the underlying MagnetometerData instances. |
| GetHashCode() |
Get the hash code for object. |
| ToString() |
Returns a string representation of the current values of MagneticField. |
Operators
| Equality(MagnetometerData, MagnetometerData) |
Equality operator for equals. |
| Inequality(MagnetometerData, MagnetometerData) |
Inequality operator. |