Platforms to show: All Mac Windows Linux Cross-Platform

WindowsLocationManagerMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows Location MBS WinFrameworks Plugin 20.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The class for accessing Location API on Windows.

You may need to StartEvents to later query location or receive events.

see MSDN for details:

See CLLocationManagerMBS class for macOS.

Location Desired Accuracy

Constant Value Description
kLocationDesiredAccuracyDefault 0 The sensor should use the accuracy for which it can optimize power use and other cost considerations.
kLocationDesiredAccuracyHigh 1 The sensor should deliver the most accurate report possible. This includes using services that might charge money, or consuming higher levels of battery power or connection bandwidth.

Location Report Status

Constant Value Description
kLocationReportStatusAccessDenied 2 No permissions have been granted to access this report type. Call RequestPermissions.
kLocationReportStatusError 1 There was an error when creating the report, or location providers for the requested type are unable to provide any data. Location providers might be currently unavailable, or location providers cannot obtain any data. For example, this state may occur when a GPS sensor is indoors and no satellites are in view.
kLocationReportStatusInitializing 3 The report is being initialized.
kLocationReportStatusNotSupported 0 The requested report type is not supported by the API. No location providers of the requested type are installed.
kLocationReportStatusRunning 4 The report is running. New location data for the requested report type is available.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

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

WindowsLocationExceptionMBS   -   WindowsLocationMBS

The biggest plugin in space...