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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem