public class PoiResult extends SearchResult
SearchResult.ERRORNO
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
error, status
Modifier | Constructor and Description |
---|---|
|
PoiResult() |
protected |
PoiResult(Parcel in) |
|
PoiResult(SearchResult.ERRORNO errorno) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.util.List<PoiAddrInfo> |
getAllAddr()
获取门址结果
|
java.util.List<PoiInfo> |
getAllPoi()
获取Poi检索结果
|
int |
getCurrentPageCapacity()
获取单页容量,单页容量可以通过检索参数指定
|
int |
getCurrentPageNum()
获取当前分页编号
|
java.util.List<CityInfo> |
getSuggestCityList()
返回城市列表页的结果数
|
int |
getTotalPageNum()
获取总分页数
|
int |
getTotalPoiNum()
获取POI总数
|
boolean |
isHasAddrInfo()
获取是否包含门址类数据
|
void |
setAddrInfo(java.util.List<PoiAddrInfo> arrayAddrInfo)
设置门址结果
|
void |
setCurrentPageCapacity(int currentPageCapacity)
设置单页容量,单页容量可以通过检索参数指定
|
void |
setCurrentPageNum(int currentPageNum)
设置当前分页编号
|
void |
setHasAddrInfo(boolean isHasAddrInfo)
设置是否包含门址类数据
|
void |
setPoiInfo(java.util.List<PoiInfo> arrayPoiInfo)
设置Poi检索结果
|
void |
setSuggestCityList(java.util.List<CityInfo> cityList)
设置城市列表页的结果数
|
void |
setTotalPageNum(int totalPageNum)
设置总分页数
|
void |
setTotalPoiNum(int totalPoiNum)
设置POI总数
|
void |
writeToParcel(Parcel dest,
int flags) |
public PoiResult()
public PoiResult(SearchResult.ERRORNO errorno)
protected PoiResult(Parcel in)
public int getCurrentPageNum()
public void setCurrentPageNum(int currentPageNum)
currentPageNum
- 当前分页编号public int getTotalPageNum()
public void setTotalPageNum(int totalPageNum)
totalPageNum
- 总分页数public int getCurrentPageCapacity()
public void setCurrentPageCapacity(int currentPageCapacity)
currentPageCapacity
- 单页容量public int getTotalPoiNum()
public void setTotalPoiNum(int totalPoiNum)
totalPoiNum
- POI总数public java.util.List<PoiInfo> getAllPoi()
public void setPoiInfo(java.util.List<PoiInfo> arrayPoiInfo)
arrayPoiInfo
- Poi检索结果public java.util.List<PoiAddrInfo> getAllAddr()
public void setAddrInfo(java.util.List<PoiAddrInfo> arrayAddrInfo)
arrayAddrInfo
- 门址结果列表public boolean isHasAddrInfo()
public void setHasAddrInfo(boolean isHasAddrInfo)
isHasAddrInfo
- true--包含门址信息;false--不包含门址信息public java.util.List<CityInfo> getSuggestCityList()
public void setSuggestCityList(java.util.List<CityInfo> cityList)
cityList
- 城市列表页的结果数public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class SearchResult
public int describeContents()
describeContents
in class SearchResult