MagnetometerReadingChangedEventArgs MagnetometerReadingChangedEventArgs MagnetometerReadingChangedEventArgs MagnetometerReadingChangedEventArgs MagnetometerReadingChangedEventArgs Class

Definition

Provides data for the magnetometer reading– changed event.

public : sealed class MagnetometerReadingChangedEventArgs : IMagnetometerReadingChangedEventArgs
struct winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs : IMagnetometerReadingChangedEventArgs
public sealed class MagnetometerReadingChangedEventArgs : IMagnetometerReadingChangedEventArgs
Public NotInheritable Class MagnetometerReadingChangedEventArgs Implements IMagnetometerReadingChangedEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is accessed when your app supports the ReadingChanged event.

Properties

Reading Reading Reading Reading Reading

Gets the current magnetometer reading.

public : MagnetometerReading Reading { get; }
MagnetometerReading Reading();
public MagnetometerReading Reading { get; }
Public ReadOnly Property Reading As MagnetometerReading
var magnetometerReading = magnetometerReadingChangedEventArgs.reading;
Value
MagnetometerReading MagnetometerReading MagnetometerReading

The current magnetometer reading.