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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for