public class BuildingSearch extends SearcherInternal
构造器和说明 |
---|
BuildingSearch() |
限定符和类型 | 方法和说明 |
---|---|
void |
destroy()
释放检索对象资源
|
static BuildingSearch |
newInstance()
获取检索建筑物对象
|
boolean |
requestBuilding(BuildingSearchOption option)
发起建筑物检索请求
|
void |
setOnGetBuildingSearchResultListener(OnGetBuildingSearchResultListener listener)
设置建筑物检索结果监听者
|
public static BuildingSearch newInstance()
public boolean requestBuilding(BuildingSearchOption option)
option
- 建筑检索参数,经纬度不能为nulljava.lang.IllegalStateException
java.lang.IllegalArgumentException
public void setOnGetBuildingSearchResultListener(OnGetBuildingSearchResultListener listener)
listener
- 监听者,所设监听者不为空,否则检索结果回调不生效。public void destroy()