public class AoiItem
extends java.lang.Object
implements android.os.Parcelable
| 构造器和说明 |
|---|
AoiItem()
构造AoiItem对象
Constructs an AoiItem object. |
AoiItem(android.os.Parcel source) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
describeContents() |
java.lang.String |
getAdCode()
返回AOI的行政区划代码
Returns the administrative division code of the AOI. |
java.lang.Float |
getAoiArea()
返回AOI覆盖区域面积,单位平方米
Returns the area covered by the AOI, in square meters. |
LatLonPoint |
getAoiCenterPoint()
返回AOI的中心点坐标
Returns the center point coordinates of the AOI. |
java.lang.String |
getAoiId()
返回AOI的id,即其唯一标识,AOI的id,同POI的id
Returns the ID of the AOI, which is its unique identifier. |
java.lang.String |
getAoiName()
返回AOI的名称
Returns the name of the AOI. |
float |
getDistance()
返回AOI到当前逆地理编码点的距离
Returns the distance from the AOI to the current reverse geocoding point. |
java.lang.String |
getType()
返回AOI的类型
Returns the type of the AOI. |
void |
setAdcode(java.lang.String AdCode)
设置AOI的行政区划代码
Sets the administrative division code of the AOI. |
void |
setArea(java.lang.Float AoiArea)
设置AOI覆盖区域面积
Sets the area covered by the AOI. |
void |
setDistance(float distance)
设置AOI到当前逆地理编码点的距离
Sets the distance from the AOI to the current reverse geocoding point. |
void |
setId(java.lang.String AoiId)
设置AOI的id
Sets the ID of the AOI. |
void |
setLocation(LatLonPoint AoiCenterPoint)
设置AOI的中心点坐标
Sets the center point coordinates of the AOI. |
void |
setName(java.lang.String AoiName)
设置AOI名称
Sets the name of the AOI. |
void |
setType(java.lang.String type)
设置AOI的类型
Sets the type of the AOI. |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<AoiItem> CREATOR
public AoiItem()
public AoiItem(android.os.Parcel source)
public java.lang.String getAoiId()
public java.lang.String getAoiName()
public java.lang.String getAdCode()
public LatLonPoint getAoiCenterPoint()
public java.lang.Float getAoiArea()
public void setId(java.lang.String AoiId)
AoiId - AOI的id。
public void setName(java.lang.String AoiName)
AoiName - AOI名称。
public void setAdcode(java.lang.String AdCode)
AdCode - AOI的行政区划代码。
public void setLocation(LatLonPoint AoiCenterPoint)
AoiCenterPoint - AOI的中心点坐标。
public void setArea(java.lang.Float AoiArea)
AoiArea - AOI覆盖区域面积,单位平方米。
public float getDistance()
public void setDistance(float distance)
distance - public java.lang.String getType()
public void setType(java.lang.String type)
type - public int describeContents()
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel 在接口中 android.os.Parcelable