CompassReading Properties

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The CompassReading type exposes the following members.

Properties

  Name Description
HeadingAccuracy Gets the accuracy, in degrees, of the compass heading readings.
MagneticHeading Gets the heading, in degrees, measured clockwise from the Earth’s magnetic north.
MagnetometerReading Gets the raw magnetometer reading in microteslas.
Timestamp Gets a timestamp indicating the time at which the compass reading was taken. This can be used to correlate readings across sensors and provide additional input to algorithms that process raw sensor data.
TrueHeading Gets the heading, in degrees, measured clockwise from the Earth’s geographic north.

Top

See Also

Reference

CompassReading Structure

Microsoft.Devices.Sensors Namespace