Edytuj

Udostępnij za pośrednictwem


CLLocationManager.StartMonitoringSignificantLocationChanges Method

Definition

Starts monitoring for significant changes.

[Foundation.Export("startMonitoringSignificantLocationChanges")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StartMonitoringSignificantLocationChanges ();
[Foundation.Export("startMonitoringSignificantLocationChanges")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void StartMonitoringSignificantLocationChanges ();
abstract member StartMonitoringSignificantLocationChanges : unit -> unit
override this.StartMonitoringSignificantLocationChanges : unit -> unit
Attributes

Remarks

This is the most energy-efficient monitoring mode and primarily relies on cellphone-tower changes. It is most appropriate for applications that do not have precise location-monitoring needs.

Applies to