MagnetometerAccuracy enumeration

Specifies the accuracy of the magnetometer.

Syntax


typedef enum _MagnetometerAccuracy { 
  Unknown      = 0,
  Unreliable   = 1,
  Approximate  = 2,
  High         = 3
} MagnetometerAccuracy;

Constants

Unknown

This value is not used.

Unreliable

The reported values have a high degree of inaccuracy. Apps will typically ask the user to calibrate the device whenever this value is returned.

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

The actual and reported values are accurate. No additional calibration is needed.

Remarks

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

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

None supported

Header

Sensorsapi.h

 

 

Community Additions

ADD
Show: