Platforms to show: All Mac Windows Linux Cross-Platform
Back to CLLocationManagerMBS class.
CLLocationManagerMBS.authorizationStatus as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The authorization status of a given application is managed by the system and determined by several factors. Applications must be explicitly authorized to use location services by the user and location services must themselves currently be enabled for the system. This authorization takes place automatically when your application first attempts to use location services.
Available on Mac OS X 10.7 or later.
CLLocationManagerMBS.CheckEvents
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 15.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This is a helper app to make CoreLocation geocoder work in web projects.
Should not be called in desktop apps.
But for a web app, use a Timer (not WebTimer) to run it on main loop every few milliseconds (e.g. 500 ms).
Some examples using this method:
CLLocationManagerMBS.deferredLocationUpdatesAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 13.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Requires Mac OS X 10.9.
CLLocationManagerMBS.headingAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true if heading data is available or false if it is not.
Heading data may not be available on all iOS-based devices. You should check the value returned by this method before asking the location manager to deliver heading-related events.
Available on Mac OS X 10.7 or later.
CLLocationManagerMBS.kCLErrorDomain as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CLLocationManagerMBS.kCLErrorUserInfoAlternateRegionKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CLLocationManagerMBS.locationServicesAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true on Mac OS X 10.6 and false on all other systems.
Some examples using this method:
CLLocationManagerMBS.locationServicesEnabled as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
CLLocationManagerMBS.regionMonitoringAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available on Mac OS X 10.7 or later.
Returns true if region monitoring is available or false if it is not.
Support for region monitoring may not be available on all devices and models. You should check the value of this property before attempting to set up any regions or initiate region monitoring.
Even if region monitoring support is present on a device, it may still be unavailable because the user disabled it for the current application or for all applications.
CLLocationManagerMBS.regionMonitoringEnabled as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true if region monitoring is available and is currently enabled or false if it is unavailable or not enabled.
The user can enable or disable location services (including region monitoring) altogether from the System Preferences.
You should check the return value of this method before starting region monitoring updates to determine if the user currently allows location services to be used at all. If this method returns false and you start region monitoring updates anyway, the Core Location framework prompts the user with a confirmation panel asking whether location services should be reenabled.
This method does not check to see if region monitoring capabilities are actually supported by the device. Therefore, you should also check the return value of the regionMonitoringAvailable class method before attempting to start region monitoring services.
Available on Mac OS X 10.7 or later.
CLLocationManagerMBS.significantLocationChangeMonitoringAvailable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreLocation | MBS MacFrameworks Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available on Mac OS X 10.7 or later.
This method indicates whether the device is able to report updates based on significant location changes only. (This primarily involves detecting changes in the cell tower currently associated with the device.) This capability provides tremendous power savings for applications that want to track a user's approximate location and do not need highly accurate position information.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.