This API enables users to provide several Location Services on their Smart Devices Applications by interacting with the GPS on the device where the app is running.
The scenarios that this API resolves are described in the following document. To enable the use of this API many methods, such as GetMyLocation, GetLatitude, GetAddress, etc have been defined and also a new Structure Data Type has been defined, the GeoLocationInfo.
- Returns the current authorization status. This can be useful when you are using an API that requires a higher authorization level that the one the user gave. We can warn the user and ask him to go to the settings and add the necessary permission if he currently has a minor permission (WhenInUse or Denied).
*Methods marked with an asterisk only work on the device.
- In iOS, the Tracking and Proximity Alerts methods need permissions to work in background mode. This can be done by adding the 'location' value to the Background Modes property. Also, Deferring Location Updates are available, reducing the battery usage.
- In iOS 8.0 or later, a value for Location Always Usage Description or Location When In Use Usage Description properties is required when you use location services.
Work With for Smart Devices – Behavior through Events
Proximity Alerts methods are only available for iOS.