MagnetometerAccuracy MagnetometerAccuracy MagnetometerAccuracy MagnetometerAccuracy MagnetometerAccuracy Enum


The sensor's accuracy.

This short video gives an overview of how to calibrate the magnetometer's accuracy.

public : enum class MagnetometerAccuracy
enum class winrt::Windows::Devices::Sensors::MagnetometerAccuracy : int32_t
public enum MagnetometerAccuracy
Public Enum MagnetometerAccuracy
var value = Windows.Devices.Sensors.MagnetometerAccuracy.approximate;
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Approximate Approximate Approximate Approximate Approximate

The actual and reported values differ but may be accurate enough for some application.

Apps that only need a relative value, like a virtual reality app, can continue without additional calibration.

High High High High High

The actual and reported values are accurate.

No additional calibration is needed.

Unknown Unknown Unknown Unknown Unknown

The accuracy is currently not available, typically because the driver can't report it.

You should determine, based on your app's needs, whether your app will want to ask users to calibrate the device whenever this value is returned.

Unreliable Unreliable Unreliable Unreliable Unreliable

The actual and reported values have a high degree of inaccuracy.

Apps should always ask the user to calibrate the device whenever this value is returned.


Apps that need calibration should periodically ask the user to calibrate the device. We suggest doing this no more than every 10 minutes.