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

Public Member Functions

 Location (double latitude, double longitude, double altitude, double accuracy)
 
 Location (double latitude, double longitude, double altitude)
 
 Location (double latitude, double longitude)
 
double getLatitude ()
 
double getLongitude ()
 
double getAltitude ()
 
double getAccuracy ()
 

Detailed Description

Represents a location object and provides accessor methods to its data

Constructor & Destructor Documentation

◆ Location() [1/3]

com.amazon.aace.location.Location.Location ( double  latitude,
double  longitude,
double  altitude,
double  accuracy 
)

Most verbose constructor for a Location object

Parameters
latitudeA location latitude
longitudeA location longitude
altitudeA location altitude in meters
accuracyA location accuracy in meters

◆ Location() [2/3]

com.amazon.aace.location.Location.Location ( double  latitude,
double  longitude,
double  altitude 
)

Less verbose constructor for a Location object

Parameters
latitudeA location latitude
longitudeA location longitude
altitudeA location altitude in meters

◆ Location() [3/3]

com.amazon.aace.location.Location.Location ( double  latitude,
double  longitude 
)

Least verbose constructor for a Location object

Parameters
latitudeA location latitude
longitudeA location longitude

Member Function Documentation

◆ getLatitude()

double com.amazon.aace.location.Location.getLatitude ( )

Location accessor method for latitude

Returns
The latitude for the location

◆ getLongitude()

double com.amazon.aace.location.Location.getLongitude ( )

Location accessor method for longitude

Returns
The longitude for the location

◆ getAltitude()

double com.amazon.aace.location.Location.getAltitude ( )

Location accessor method for altitude

Returns
The altitude for the location

◆ getAccuracy()

double com.amazon.aace.location.Location.getAccuracy ( )

Location accessor method for accuracy

Returns
The accuracy for the location

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