MagnetometerAccuracy enumeration (sensorsapi.h)

Specifies the accuracy of the magnetometer.

Syntax

typedef enum MagnetometerAccuracy {
  MAGNETOMETER_ACCURACY_UNKNOWN = 0,
  MAGNETOMETER_ACCURACY_UNRELIABLE,
  MAGNETOMETER_ACCURACY_APPROXIMATE,
  MAGNETOMETER_ACCURACY_HIGH
} ;

Constants

 
MAGNETOMETER_ACCURACY_UNKNOWN
Value: 0
MAGNETOMETER_ACCURACY_UNRELIABLE
MAGNETOMETER_ACCURACY_APPROXIMATE
MAGNETOMETER_ACCURACY_HIGH

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

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server None supported
Header sensorsapi.h