Edit

Share via


CLLocationManager.Heading Property

Definition

The most recent heading (direction in which the device is traveling).

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreLocation.CLHeading Heading { [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("heading", ObjCRuntime.ArgumentSemantic.Copy)] get; }
member this.Heading : CoreLocation.CLHeading

Property Value

This value may be null if heading updates have not been started.

Attributes

Remarks

Heading information is only available on devices with a hardware magnetometer. (See HeadingAvailable.)

Applies to