MagnetometerData
Namespace: Wisej.Hybrid.Shared.Sensors
Assembly: Wisej.Hybrid
Contains the pressure measured by the user's device magnetometer.
- C#
- VB.NET
public class MagnetometerData : IEquatable<MagnetometerData>
Public Class MagnetometerData
Inherits IEquatable(Of MagnetometerData)
Constructors
MagnetometerData()
Initializes a new instance of MagnetometerData.
MagnetometerData(x, y, z)
Initializes a new instance of the MagnetometerData class.
| Name | Type | Description |
|---|---|---|
| x | Double | X axis data. |
| y | Double | Y axis data. |
| z | Double | Z asix data. |
MagnetometerData(x, y, z)
Initializes a new instance of the MagnetometerData class.
| Name | Type | Description |
|---|---|---|
| x | Single | X axis data. |
| y | Single | Y axis data. |
| z | Single | Z asix data. |
Properties
MagneticField
Vector3: Gets the magnetic field vector in microteslas (µ).