public class PoiItem
extends java.lang.Object
implements android.os.Parcelable
| 构造器和说明 |
|---|
PoiItem() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
describeContents() |
java.lang.String |
getAddress()
获取POI的地址信息
Get the address information of the POI |
java.lang.String |
getAdname()
获取POI所在的区域名称
Get the area name where the POI is located |
java.lang.String |
getCity()
获取POI所在的城市名称
Get the city name where the POI is located |
static android.os.Parcelable.Creator<PoiItem> |
getCreator() |
double |
getLatitude()
获取POI的纬度
Get the latitude of the POI |
double |
getLongitude()
获取POI的经度
Get the longitude of the POI |
java.lang.String |
getPoiId()
获取POI的ID
Get the ID of the POI |
java.lang.String |
getPoiName()
获取POI的名称
Get the name of the POI |
java.lang.String |
getPoiType()
获取POI的类型
Get the type of the POI |
java.lang.String |
getProvince()
获取POI所在的省份名称
Get the province name where the POI is located |
java.lang.String |
getTel()
获取POI的电话号码
Get the phone number of the POI |
java.lang.String |
getTypeCode()
获取POI的类型编码
Get the type code of the POI |
void |
setAddress(java.lang.String address)
设置POI的地址信息
Set the address information of the POI |
void |
setAdname(java.lang.String adname)
设置POI所在的区域名称
Set the area name where the POI is located |
void |
setCity(java.lang.String city)
设置POI所在的城市名称
Set the city name where the POI is located |
void |
setLatitude(double latitude)
设置POI的纬度
Set the latitude of the POI |
void |
setLongitude(double longitude)
设置POI的经度
Set the longitude of the POI |
void |
setPoiId(java.lang.String poiId)
设置POI的ID
Set the ID of the POI |
void |
setPoiName(java.lang.String poiName)
获取POI的名称
Get the name of the POI |
void |
setPoiType(java.lang.String poiType)
设置POI的类型
Set the type of the POI |
void |
setProvince(java.lang.String setProvince)
设置POI所在的城市名称
Set the city name where the POI is located |
void |
setTel(java.lang.String tel)
设置POI的电话号码
Set the phone number of the POI |
void |
setTypeCode(java.lang.String typeCode)
设置POI的类型编码
Set the type code of the POI |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<PoiItem> CREATOR
public double getLatitude()
public void setLatitude(double latitude)
latitude - POI的纬度
public double getLongitude()
public void setLongitude(double longitude)
longitude - POI的经度
public java.lang.String getPoiId()
public void setPoiId(java.lang.String poiId)
poiId - public java.lang.String getPoiType()
public void setPoiType(java.lang.String poiType)
poiType - public java.lang.String getTypeCode()
public void setTypeCode(java.lang.String typeCode)
typeCode - public java.lang.String getAddress()
public void setAddress(java.lang.String address)
public java.lang.String getTel()
public void setTel(java.lang.String tel)
tel - public java.lang.String getProvince()
public void setProvince(java.lang.String setProvince)
pname - POI所在的城市名称
public java.lang.String getCity()
public void setCity(java.lang.String city)
city - public java.lang.String getAdname()
public java.lang.String getPoiName()
public void setPoiName(java.lang.String poiName)
poiName - public void setAdname(java.lang.String adname)
adname - public static android.os.Parcelable.Creator<PoiItem> getCreator()
public int describeContents()
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel 在接口中 android.os.Parcelable