CompassReading.MagnetometerReading Property

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

Gets the raw magnetometer reading in microteslas.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)


Public Property MagnetometerReading As Vector3
public Vector3 MagnetometerReading { get; internal set; }

Property Value

Type: Vector3
The raw magnetometer reading.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

See Also


CompassReading Structure

Microsoft.Devices.Sensors Namespace