Alexa Auto SDK  2.0.0
Public Member Functions | List of all members
aace::location::LocationProvider Class Referenceabstract

Public Member Functions

virtual aace::location::Location getLocation ()=0
 
virtual std::string getCountry ()
 

Detailed Description

LocationProvider should be extended to report geolocation to the Engine.

Member Function Documentation

◆ getLocation()

virtual aace::location::Location aace::location::LocationProvider::getLocation ( )
pure virtual

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

Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0