Magnetometer Class
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.
Detect device's orentation relative to Earth's magnetic field in microteslas (µ).
public static class Magnetometer
- Inheritance
-
System.ObjectMagnetometer
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. |