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

Public Member Functions

abstract Location getLocation ()
 
String getCountry ()
 

Detailed Description

LocationProvider should be extended to report geolocation to the Engine.

Member Function Documentation

◆ getLocation()

abstract Location com.amazon.aace.location.LocationProvider.getLocation ( )
abstract

Returns the current geolocation of the device

Returns
The current location

◆ getCountry()

String com.amazon.aace.location.LocationProvider.getCountry ( )

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