MagnetometerReading Property
Collapse the table of content
Expand the table of content

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 Vector3 MagnetometerReading { get; internal set; }

Property Value

Type: Vector3
The raw magnetometer reading.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2017 Microsoft