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

CoreLocation.requestLocation

Requests the one-time delivery of the user’s current location.

Component Version macOS Windows Linux Server iOS SDK
CoreLocation 9.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CoreLocation.requestLocation" )

Parameters

none

Result

Returns OK or error.

Description

Requests the one-time delivery of the user’s current location.
This method returns immediately. Calling it causes the location manager to obtain a location fix (which may take several seconds).

Added macOS support with MBS Plugin 11.1 for macOS 10.14 and newer.

See also

Release notes

Blog Entries

This function checks for a license.

Created 17th February 2019, last changed 16th February 2021


CoreLocation.requestAlwaysAuthorization - CoreLocation.requestTemporaryFullAccuracyAuthorization