CompassReading.HeadingTrueNorth | headingTrueNorth property

Applies to Windows and Windows Phone

Gets the heading in degrees relative to geographic true-north.

Syntax


var headingTrueNorth = compassReading.headingTrueNorth;

Property value

Type: IReference<Double> [JavaScript/C++] | System.Nullable<Double> [.NET]

The true-north heading.

Remarks

Before retrieving this property, your code should first check to verify that the value is not null. (If the value is null and you attempt to retrieve it, Windows will generate an exception.)

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Sensors
Windows::Devices::Sensors [C++]

Metadata

Windows.winmd

See also

CompassReading

 

 

Show:
© 2014 Microsoft