Mac OS X
Components Crossplatform Mac & Win Server (Not) Client Old Guides Examples
New in version: 6.1 6.2 6.3 6.4 6.5 7.0 7.1 7.2 7.3 7.4 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||No|
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 Plugins