Düzenle

Aracılığıyla paylaş


CLLocation.Course Property

Definition

The direction, in positive degrees, in which the device is moving relative to true North.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual double Course { [Foundation.Export("course")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.Course : double

Property Value

Negative values are invalid. Travel due West is 270, not -90.

Attributes

Remarks

This property is not be available on all devices.

Applies to