Magnetometer Class

Definition

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

public static class Magnetometer
Inheritance
System.Object
Magnetometer

Properties

Name Description
IsMonitoring

Gets if magnetometer is being monitored.

Methods

Name Description
Start(SensorSpeed)

Start monitoring for changes to magnetometer.

Stop()

Stop monitoring for changes to magnetometer.

Events

Name Description
ReadingChanged

Event triggered when reading of sensor changes.

Applies to