@Implements(value=android.location.Address.class) public class ShadowAddress extends Object
Address.| Constructor and Description |
|---|
ShadowAddress() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddressLine(int index) |
String |
getAdminArea() |
String |
getCountryCode() |
double |
getLatitude() |
String |
getLocality() |
double |
getLongitude() |
String |
getPostalCode() |
boolean |
hasLatitude() |
boolean |
hasLongitude() |
void |
setAddressLine(int index,
String line) |
void |
setAdminArea(String adminArea) |
void |
setCountryCode(String countryCode) |
void |
setLatitude(double latitude) |
void |
setLocality(String locality) |
void |
setLongitude(double longitude) |
void |
setPostalCode(String postalCode) |
void |
setSimulatedHasLatLong(boolean hasLatitude,
boolean hasLongitude) |
@Implementation public double getLatitude()
@Implementation public void setLatitude(double latitude)
@Implementation public double getLongitude()
@Implementation public void setLongitude(double longitude)
@Implementation
public void setAddressLine(int index,
String line)
@Implementation public String getAddressLine(int index)
@Implementation public void setLocality(String locality)
@Implementation public String getLocality()
@Implementation public String getAdminArea()
@Implementation public void setAdminArea(String adminArea)
@Implementation public String getPostalCode()
@Implementation public void setPostalCode(String postalCode)
@Implementation public String getCountryCode()
@Implementation public void setCountryCode(String countryCode)
@Implementation public boolean hasLatitude()
@Implementation public boolean hasLongitude()
public void setSimulatedHasLatLong(boolean hasLatitude,
boolean hasLongitude)
Copyright © 2015. All rights reserved.