CLLocationManager.Heading Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.)