CompassReadingChangedEventArgs CompassReadingChangedEventArgs CompassReadingChangedEventArgs CompassReadingChangedEventArgs Class

Provides data for the compass reading– changed event.

Syntax

Declaration

public sealed class CompassReadingChangedEventArgspublic sealed class CompassReadingChangedEventArgsPublic NotInheritable Class CompassReadingChangedEventArgspublic sealed class CompassReadingChangedEventArgs

Remarks

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

Properties summary

Gets the current compass reading.

Properties

  • Reading
    Reading
    Reading
    Reading

    Gets the current compass reading.

    public CompassReading Reading { get; }public CompassReading Reading { get; }Public ReadOnly Property Reading As CompassReadingpublic CompassReading Reading { get; }

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Devices.Sensors.dll