CLLocationManager.DistanceFilter Property

Definition

The minimum horizontal distance, in meters, the device has to move before issuing a location update.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual double DistanceFilter { [Foundation.Export("distanceFilter")] get; [Foundation.Export("setDistanceFilter:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("distanceFilter")>]
[<set: Foundation.Export("setDistanceFilter:")>]
member this.DistanceFilter : double with get, set

Property Value

The default value is FilterNone.

Attributes

Remarks

If this value is set to FilterNone, the app will receive all location updates.

Applies to