android.location
Class Address
java.lang.Object
android.location.Address
- All Implemented Interfaces:
- Parcelable
public class Address
- extends java.lang.Object
- implements Parcelable
|
Constructor Summary |
Address(java.util.Locale locale)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CREATOR
public static final Parcelable.Creator<Address> CREATOR
Address
public Address(java.util.Locale locale)
getLocale
public java.util.Locale getLocale()
getMaxAddressLineIndex
public int getMaxAddressLineIndex()
getAddressLine
public java.lang.String getAddressLine(int index)
setAddressLine
public void setAddressLine(int index,
java.lang.String line)
getFeatureName
public java.lang.String getFeatureName()
setFeatureName
public void setFeatureName(java.lang.String featureName)
getAdminArea
public java.lang.String getAdminArea()
setAdminArea
public void setAdminArea(java.lang.String adminArea)
getSubAdminArea
public java.lang.String getSubAdminArea()
setSubAdminArea
public void setSubAdminArea(java.lang.String subAdminArea)
getLocality
public java.lang.String getLocality()
setLocality
public void setLocality(java.lang.String locality)
getSubLocality
public java.lang.String getSubLocality()
setSubLocality
public void setSubLocality(java.lang.String sublocality)
getThoroughfare
public java.lang.String getThoroughfare()
setThoroughfare
public void setThoroughfare(java.lang.String thoroughfare)
getSubThoroughfare
public java.lang.String getSubThoroughfare()
setSubThoroughfare
public void setSubThoroughfare(java.lang.String subthoroughfare)
getPremises
public java.lang.String getPremises()
setPremises
public void setPremises(java.lang.String premises)
getPostalCode
public java.lang.String getPostalCode()
setPostalCode
public void setPostalCode(java.lang.String postalCode)
getCountryCode
public java.lang.String getCountryCode()
setCountryCode
public void setCountryCode(java.lang.String countryCode)
getCountryName
public java.lang.String getCountryName()
setCountryName
public void setCountryName(java.lang.String countryName)
hasLatitude
public boolean hasLatitude()
getLatitude
public double getLatitude()
setLatitude
public void setLatitude(double latitude)
clearLatitude
public void clearLatitude()
hasLongitude
public boolean hasLongitude()
getLongitude
public double getLongitude()
setLongitude
public void setLongitude(double longitude)
clearLongitude
public void clearLongitude()
getPhone
public java.lang.String getPhone()
setPhone
public void setPhone(java.lang.String phone)
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String Url)
getExtras
public Bundle getExtras()
setExtras
public void setExtras(Bundle extras)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
describeContents
public int describeContents()
- Specified by:
describeContents in interface Parcelable
writeToParcel
public void writeToParcel(Parcel parcel,
int flags)
- Specified by:
writeToParcel in interface Parcelable
Copyright © 2008-2010. All Rights Reserved.