LocationProvider should be extended to report geolocation to the Engine.
- Deprecated:
- This platform interface is deprecated. Use the Alexa Auto Services Bridge (AASB) message broker to publish and subscribe to AASB messages instead.
- See also
- aace::core::MessageBroker
◆ getLocation()
Returns the current geolocation of the device
- Returns
- The current location
◆ getCountry()
std::string aace::location::LocationProvider::getCountry |
( |
| ) |
|
|
virtual |
Returns the ISO country code for the current geolocation of the device. If no country can be determined, this method should return an empty string.
- Returns
- The current country
◆ locationServiceAccessChanged()
Notifies the Engine of a change in location service access. Use this function when the device's access to location service provider changes. E.g., system location access is not granted to the application.
- Parameters
-
[in] | access | Access to the location service |
Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0