UncalibratedMagnetometer Class
The uncalibrated magnetometer (https://w3c.github.io/magnetometer/#uncalibrated-magnetometer-interface): the magnetic field without the hard iron distortion correction, and the correction, in µT. It reads the DeviceSensorType.UncalibratedMagnetometer sensor of the device.
public sealed class UncalibratedMagnetometer : Sensor- Inheritance
SensorUncalibratedMagnetometer
Constructors
| Name | Description |
|---|---|
| UncalibratedMagnetometer(MagnetometerSensorOptions?) | Creates an uncalibrated magnetometer. |
UncalibratedMagnetometer(MagnetometerSensorOptions?)
MotionSensors.csCreates an uncalibrated magnetometer.
public UncalibratedMagnetometer(MagnetometerSensorOptions? sensorOptions = null)Properties
| Name | Description |
|---|---|
| X | Gets the uncalibrated magnetic field along the X axis, or null. |
| XBias | Gets the hard iron distortion correction along the X axis, or null. |
| Y | Gets the uncalibrated magnetic field along the Y axis, or null. |
| YBias | Gets the hard iron distortion correction along the Y axis, or null. |
| Z | Gets the uncalibrated magnetic field along the Z axis, or null. |
| ZBias | Gets the hard iron distortion correction along the Z axis, or null. |
Gets the uncalibrated magnetic field along the X axis, or null.
public double? X { get; }XBias
MotionSensors.csGets the hard iron distortion correction along the X axis, or null.
public double? XBias { get; }Gets the uncalibrated magnetic field along the Y axis, or null.
public double? Y { get; }YBias
MotionSensors.csGets the hard iron distortion correction along the Y axis, or null.
public double? YBias { get; }Gets the uncalibrated magnetic field along the Z axis, or null.
public double? Z { get; }ZBias
MotionSensors.csGets the hard iron distortion correction along the Z axis, or null.
public double? ZBias { get; }