BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKDistrictSearch.h
浏览该文件的文档.
1 //
2 // BMKDistrictSearch.h
3 // SearchComponent
4 //
5 // Created by wzy on 15/12/14.
6 // Copyright © 2015年 baidu. All rights reserved.
7 //
8
9 #ifndef BMKDistrictSearch_h
10 #define BMKDistrictSearch_h
11 #import <BaiduMapAPI_Base/BMKTypes.h>
12 #import "BMKSearchBase.h"
13 #import "BMKDistrictSearchOption.h"
14 #import "BMKDistrictSearchResult.h"
15
16 #pragma mark - BMKDistrictSearch
17 @protocol BMKDistrictSearchDelegate;
19 @interface BMKDistrictSearch : BMKSearchBase
21 @property (nonatomic, weak) id<BMKDistrictSearchDelegate> delegate;
28 - (BOOL)districtSearch:(BMKDistrictSearchOption*)districtSearchOption;
29 @end
30
31
32 #pragma mark - BMKDistrictSearchDelegate
33 @protocol BMKDistrictSearchDelegate<NSObject>
35 @optional
42 - (void)onGetDistrictResult:(BMKDistrictSearch *)searcher result:(BMKDistrictResult *)result errorCode:(BMKSearchErrorCode)error;
43 @end
44
45 #endif /* BMKDistrictSearch_h */
BMKDistrictSearchOption
行政区域检索信息
Definition: BMKDistrictSearchOption.h:13
BMKSearchBase.h
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:140
BMKDistrictSearchDelegate-p
搜索delegate，用于获取行政区域搜索结果
Definition: BMKDistrictSearch.h:34
BMKDistrictResult
行政区域检索结果
Definition: BMKDistrictSearchResult.h:14
BMKDistrictSearchOption.h
BMKDistrictSearch::delegate
id< BMKDistrictSearchDelegate > delegate
行政区域检索模块的delegate
Definition: BMKDistrictSearch.h:21
BMKSearchBase
检索服务基类
Definition: BMKSearchBase.h:14
BMKDistrictSearchResult.h
BMKDistrictSearch
行政区域搜索服务
Definition: BMKDistrictSearch.h:20