Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Use the UWP Sensor API instead.
The COM-based Sensor API is deprecated and should not be used in new applications. No additional features or enhancements are planned, and support will be limited.
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_UNKNOWNValue: 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 |