public static class TXZPoiSearchManager.CityPoiSearchOption extends TXZPoiSearchManager.PoiSearchOption
构造器和说明 |
---|
CityPoiSearchOption() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getCity()
获取城市
|
java.lang.String |
getRegion()
获取地区
|
TXZPoiSearchManager.CityPoiSearchOption |
setCity(java.lang.String city)
设置城市
|
TXZPoiSearchManager.CityPoiSearchOption |
setKeywords(java.lang.String keywords)
设置关键字
|
TXZPoiSearchManager.CityPoiSearchOption |
setNum(int num)
设置结果数量
|
TXZPoiSearchManager.CityPoiSearchOption |
setRegion(java.lang.String region)
设置地区
|
TXZPoiSearchManager.CityPoiSearchOption |
setTimeout(int timeout)
设置搜索超时
|
getKeywords, getNum, getSearchInfo, getTimeout, setSearchInfo
public TXZPoiSearchManager.CityPoiSearchOption setTimeout(int timeout)
setTimeout
在类中 TXZPoiSearchManager.PoiSearchOption
timeout
- 超时时间,单位mspublic java.lang.String getCity()
public TXZPoiSearchManager.CityPoiSearchOption setCity(java.lang.String city)
city
- public java.lang.String getRegion()
public TXZPoiSearchManager.CityPoiSearchOption setRegion(java.lang.String region)
region
- public TXZPoiSearchManager.CityPoiSearchOption setKeywords(java.lang.String keywords)
public TXZPoiSearchManager.CityPoiSearchOption setNum(int num)