BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKAOISearch.h
浏览该文件的文档.
1 //
2 // BMKAOISearch.h
3 // BaiduMapAPI_Search
4 //
5 // Created by zhangbaojin on 2023/3/9.
6 // Copyright © 2023 Baidu. All rights reserved.
7 //
8
9 #import "BMKSearchBase.h"
10 #import "BMKAOISearchOption.h"
11 #import "BMKAOISearchResult.h"
12
13 NS_ASSUME_NONNULL_BEGIN
14
15 @protocol BMKAOISearchDelegate;
17 @interface BMKAOISearch : BMKSearchBase
18
20 @property (nonatomic, weak) id<BMKAOISearchDelegate> delegate;
21
23 - (BOOL)aoiSearch:(BMKAOISearchOption *)aoiOption;
24
25 @end
26
27
29 @protocol BMKAOISearchDelegate <NSObject>
30 @optional
31
36 - (void)onGetAOIResult:(BMKAOISearch *)searcher result:(BMKAOISearchResult *)result errorCode:(BMKSearchErrorCode)errorCode;
37
38 @end
39
40 NS_ASSUME_NONNULL_END
BMKSearchBase.h
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:140
BMKAOISearchDelegate-p
搜索delegate，用于获取搜索结果
Definition: BMKAOISearch.h:29
BMKAOISearch::delegate
id< BMKAOISearchDelegate > delegate
aoi检索模块的Delegate
Definition: BMKAOISearch.h:20
BMKAOISearchResult
aoi检索返回结果类
Definition: BMKAOISearchResult.h:17
BMKAOISearchResult.h
BMKAOISearchOption.h
BMKAOISearchOption
aoi请求信息类
Definition: BMKAOISearchOption.h:16
BMKSearchBase
检索服务基类
Definition: BMKSearchBase.h:14
BMKAOISearch
aoi检索，aoi检索服务为高级服务，AK需要申请高级权限 since 6.6.0
Definition: BMKAOISearch.h:18