Modifier

Partager via


CLLocationManager.HeadingOrientation Property

Definition

The orientation used to determine heading calculations.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreLocation.CLDeviceOrientation HeadingOrientation { [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("headingOrientation", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setHeadingOrientation:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.HeadingOrientation : CoreLocation.CLDeviceOrientation with get, set

Property Value

The default value assumes that the app, in upright portrait mode, represents due North.

Attributes

Applies to