Share via


CLLocationManager.PausesLocationUpdatesAutomatically Property

Definition

Whether the system is allowed to pause location updates (for instance, if the device has not moved in awhile).

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool PausesLocationUpdatesAutomatically { [Foundation.Export("pausesLocationUpdatesAutomatically")] get; [Foundation.Export("setPausesLocationUpdatesAutomatically:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("pausesLocationUpdatesAutomatically")>]
[<set: Foundation.Export("setPausesLocationUpdatesAutomatically:")>]
member this.PausesLocationUpdatesAutomatically : bool with get, set

Property Value

The default value is true.

Attributes

Remarks

Application developers can make pauses more logical by assigning ActivityType appropriately.

Applies to