共用方式為


CLLocationManager.Heading 屬性

定義

裝置) 的最近標題 (方向。

[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

屬性值

如果標題更新尚未啟動,則此值可能是 null

屬性

備註

標題資訊僅適用于具有硬體磁力計的裝置。 (請參閱HeadingAvailable.)

適用於