Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CoreLocation.setDistanceFilter

Sets distance filter.

Component Version macOS Windows Linux Server iOS SDK
CoreLocation 2.7 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CoreLocation.setDistanceFilter"; value )   More

Parameters

Parameter Description Example
value The distance. Either a number of text "none". 123

Result

Returns OK or error.

Description

Sets distance filter.
Sets the minimum distance (measured in meters) a device must move laterally before an update event is generated.
This distance is measured relative to the previously delivered location. Use the value "none" to be notified of all movements.
The default value of this property is "none".

See also

This function checks for a license.

Created 18th August 2014, last changed 21st June 2021


CoreLocation.setDesiredAccuracy - CoreLocation.setPurpose