Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
CoreLocation.startUpdatingLocation
Starts the generation of updates that report the user's current location.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
CoreLocation
|
2.7 |
✅ Yes |
❌ No |
❌ No |
❌ No |
✅ Yes |
MBS( "CoreLocation.startUpdatingLocation" )
Parameters
none
Description
Starts the generation of updates that report the user's current location.
This method returns immediately. Calling this method when the receiver is stopped causes it to obtain an initial location fix (which may take several seconds) and notify your script. After that, the receiver generates update events primarily when the value in the distanceFilter property is exceeded. Updates may be delivered in other situations though. For example, the receiver may send another notification if the hardware gathers a more accurate location reading.
Calling this method several times in succession does not automatically result in new events being generated. Calling stopUpdatingLocation in between, however, does cause a new initial event to be sent the next time you call this method.
Available in macOS 10.6 and later.
See also
Example Databases
This function checks for a license.
Created 18th August 2014, last changed 10th August 2020
CoreLocation.startUpdatingHeading
-
CoreLocation.stopMonitoringSignificantLocationChanges