Compass.Calibrate Event

May 11, 2014

Occurs when the operating system detects that the compass needs calibration.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
XMLNS for XAML: Not mapped to an xmlns.

public event EventHandler<CalibrationEventArgs> Calibrate
<object Calibrate="EventHandler<CalibrationEventArgs>" .../>

The device’s compass sensor may occasionally require user-assisted calibration. If the HeadingAccuracy exceeds +/- 20 degrees, this event is raised. Applications should implement their own calibration user interface. For information about implementing compass calibration, see How to get data from the compass sensor for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2014 Microsoft