public class GeocoderResultData extends Object
GeocoderResultData is equivalent POJO to Googles Results as JSON Object.| Constructor and Description |
|---|
GeocoderResultData() |
| Modifier and Type | Method and Description |
|---|---|
GeocoderAddress[] |
getAddressComponents()
Get an array containing the separate address components
|
String |
getFormattedAdress()
Get the human-readable address of this location
|
GeocoderGeometry |
getGeometry() |
String[] |
getTypes()
Get zero or more tags identifying the type of feature
|
void |
setAddressComponents(GeocoderAddress[] addressComponents)
Set an array containing the separate address components
|
void |
setFormattedAdress(String formattedAdress)
Set the human-readable address of this location
|
void |
setGeometry(GeocoderGeometry geometry) |
void |
setTypes(String[] types)
Set zero or more tags identifying the type of feature
|
public GeocoderAddress[] getAddressComponents()
public void setAddressComponents(GeocoderAddress[] addressComponents)
addressComponents - the addressComponents to setpublic String getFormattedAdress()
public void setFormattedAdress(String formattedAdress)
formattedAdress - the formattedAdress to setpublic GeocoderGeometry getGeometry()
public void setGeometry(GeocoderGeometry geometry)
geometry - the geometry to setpublic String[] getTypes()
public void setTypes(String[] types)
types - the types to setCopyright © 2015. All rights reserved.