Partager via


CLLocationManager.Heading Propriété

Définition

Titre le plus récent (direction dans laquelle l’appareil se déplace).

[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

Valeur de propriété

Cette valeur peut être null si les mises à jour de titre n’ont pas été démarrées.

Attributs

Remarques

Les informations de titre sont disponibles uniquement sur les appareils équipés d’un magnétomètre matériel. (Consultez HeadingAvailable.)

S’applique à