Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

CoreLocation.startUpdatingLocation

Starts the generation of updates that report the user's current location.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CoreLocation 2.7 Yes No Yes, macOS only 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 Mac OS X v10.6 and later.

See also

Example Databases


CoreLocation.startMonitoringSignificantLocationChanges   -   CoreLocation.stopMonitoringSignificantLocationChanges

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins