Share via


Magnetometer Class

Definition

Detect device's orentation relative to Earth's magnetic field in microteslas (µ).

public static class Magnetometer
Inheritance
System.Object
Magnetometer

Properties

IsMonitoring

Gets if magnetometer is being monitored.

Methods

Start(SensorSpeed)

Start monitoring for changes to magnetometer.

Stop()

Stop monitoring for changes to magnetometer.

Events

ReadingChanged

Event triggered when reading of sensor changes.

Applies to