MAGNETOMETER_ACCURACY enumeration (sensorsdef.h)

This enumeration represents the accuracy states of the magnetometer.

Syntax

typedef enum MAGNETOMETER_ACCURACY {
  MagnetometerAccuracy_Unknown,
  MagnetometerAccuracy_Unreliable,
  MagnetometerAccuracy_Approximate,
  MagnetometerAccuracy_High
} ;

Constants

 
MagnetometerAccuracy_Unknown
Indicates that the magnetometer's accuracy cannot be determined.
MagnetometerAccuracy_Unreliable
Indicates that the magnetometer readings are unreliable. The application can choose to prompt the user to calibrate the compass, to improve accuracy.
MagnetometerAccuracy_Approximate
Indicates that the magnetometer readings are approximate values.
MagnetometerAccuracy_High
Indicates that the magnetometer accuracy is set to high.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Header sensorsdef.h