public class BusinessArea
extends java.lang.Object
implements android.os.Parcelable
| 限定符和类型 | 字段和说明 |
|---|---|
static android.os.Parcelable.Creator<BusinessArea> |
CREATOR |
| 构造器和说明 |
|---|
BusinessArea()
构造BusinessArea对象
Construct a BusinessArea object |
BusinessArea(android.os.Parcel source) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
describeContents() |
LatLonPoint |
getCenterPoint()
返回当前商圈的中心点坐标
Returns the central point coordinates of the current business district. |
java.lang.String |
getName()
获取当前商圈的名字
Get the name of the current business district. |
void |
setCenterPoint(LatLonPoint centerPoint)
设置当前商圈的中心点坐标
Set the central point coordinates of the current business district. |
void |
setName(java.lang.String name)
设置当前商圈的名称
Set the name of the current business district. |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<BusinessArea> CREATOR
public BusinessArea()
public BusinessArea(android.os.Parcel source)
public LatLonPoint getCenterPoint()
public void setCenterPoint(LatLonPoint centerPoint)
centerPoint - 商圈中心点坐标。
public java.lang.String getName()
public void setName(java.lang.String name)
name - 商圈的名称。
public int describeContents()
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel 在接口中 android.os.Parcelable