Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.0 7.1 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 Statistic
The instantaneous speed of the device in meters per second.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|CoreLocation||2.7||Yes||No||Yes, macOS only||No||Yes|
Returns speed value.
DescriptionThe instantaneous speed of the device in meters per second.
This value reflects the instantaneous speed of the device in the direction of its current heading. A negative value indicates an invalid speed. Because the actual speed can change many times between the delivery of subsequent location events, you should use this property for informational purposes only.
This function queries current know location. It's updated from time to time. To receive a script call when new location is available, please use CoreLocation.SetUpdateLocationHandler.
Feedback: Report problem or ask question.
MBS Xojo tutorial videos