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