Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CLLocationManagerMBS.authorizationStatus as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns the application's authorization status for using location services.
Notes:
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.

Feedback, Comments & Corrections

CLLocationManagerMBS.CheckEvents
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 15.0 Yes No No Yes, macOS only No
Function: Checks for new events.
Notes:
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).

Feedback, Comments & Corrections

CLLocationManagerMBS.deferredLocationUpdatesAvailable as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 13.5 Yes No No Yes, macOS only No
Function: Returns true if the device supports deferred location updates, otherwise false.
Notes: Requires Mac OS X 10.9.

Feedback, Comments & Corrections

CLLocationManagerMBS.headingAvailable as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns a Boolean value indicating whether the location manager is able to generate heading-related events.
Example:
msgbox "headingAvailable available: "+str(CLLocationManagerMBS.headingAvailable)
Notes:
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.

Feedback, Comments & Corrections

CLLocationManagerMBS.kCLErrorDomain as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: The domain for Core Location errors. This value is used in the NSError class.

Feedback, Comments & Corrections

CLLocationManagerMBS.kCLErrorUserInfoAlternateRegionKey as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: A key in the user information dictionary of an kCLErrorRegionMonitoringResponseDelayed error whose value is a CLRegionMBS object that the location services can more effectively monitor.

Feedback, Comments & Corrections

CLLocationManagerMBS.locationServicesAvailable as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether the CoreLocation framework is available.
Example:
if CLLocationManagerMBS.locationServicesAvailable then
if CLLocationManagerMBS.locationServicesEnabled then
MsgBox "available and enabled"
else
MsgBox "available and not enabled"
end if
else
MsgBox "Not available"
end if
Notes: Returns true on Mac OS X 10.6 and false on all other systems.

Feedback, Comments & Corrections

CLLocationManagerMBS.locationServicesEnabled as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 9.6 Yes No No Yes, macOS only No
Function: A Boolean value indicating whether location services are enabled on the device.
Example:
if CLLocationManagerMBS.locationServicesAvailable then
if CLLocationManagerMBS.locationServicesEnabled then
MsgBox "available and enabled"
else
MsgBox "available and not enabled"
end if
else
MsgBox "Not available"
end if

Feedback, Comments & Corrections

CLLocationManagerMBS.regionMonitoringAvailable as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns a Boolean indicating whether region monitoring is supported on the current device.
Example:
msgbox "regionMonitoringAvailable available: "+str(CLLocationManagerMBS.regionMonitoringAvailable)
Notes:
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.

Feedback, Comments & Corrections

CLLocationManagerMBS.regionMonitoringEnabled as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns a Boolean indicating whether region monitoring is currently enabled.
Notes:
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.

Feedback, Comments & Corrections

CLLocationManagerMBS.significantLocationChangeMonitoringAvailable as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreLocation MBS MacFrameworks Plugin 11.2 Yes No No Yes, macOS only No
Function: Returns true if the device supports significant location change monitoring, otherwise false.
Example:
msgbox "significantLocationChangeMonitoringAvailable available: "+str(CLLocationManagerMBS.significantLocationChangeMonitoringAvailable)
Notes:
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.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacFrameworks Plugin.




Links
MBS FileMaker tutorial videos