public abstract class GeocodingResult extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
GeocodingResult.Type
The types of results.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
GeocodingResult() |
Modifier and Type | Method and Description |
---|---|
abstract Address |
getAddress()
The address of the result.
|
abstract String |
getAddressText()
The address of the result, as a string.
|
abstract LatLng |
getLocation()
The location of the result.
|
abstract String |
getTitle()
The title of the result.
|
abstract GeocodingResult.Type |
getType()
The type of the result.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents, writeToParcel
public abstract GeocodingResult.Type getType()
public abstract String getTitle()
null
for forward geocoding results, otherwise optional.public abstract String getAddressText()
null
for reverse geocoding; otherwise always null
.public abstract Address getAddress()
null
for reverse geocoding; otherwise always null
.public abstract LatLng getLocation()