BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKWeatherSearch.h
浏览该文件的文档.
1 //
2 // BMKWeatherSearch.h
3 // BaiduMapAPI_Search
4 //
5 // Created by Baidu on 2020/4/30.
6 // Copyright © 2020 Baidu. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import "BMKWeatherSearchOption.h"
11 #import <BaiduMapAPI_Base/BMKTypes.h>
12 #import "BMKSearchBase.h"
13 #import "BMKWeatherSearchResult.h"
14 NS_ASSUME_NONNULL_BEGIN
15 @protocol BMKWeatherSearchDelegate;
17 @interface BMKWeatherSearch : BMKSearchBase
18
20 @property (nonatomic, weak) id<BMKWeatherSearchDelegate> delegate;
21
28 - (BOOL)weatherSearch:(BMKWeatherSearchOption *)weatherSearchOption;
29 @end
30
32 @protocol BMKWeatherSearchDelegate <NSObject>
33 @optional
40 - (void)onGetWeatherResult:(BMKWeatherSearch *)searcher result:(BMKWeatherSearchResult *)result errorCode:(BMKSearchErrorCode)error;
41
42 @end
43
44 NS_ASSUME_NONNULL_END
BMKSearchBase.h
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:159
BMKWeatherSearchOption
Definition: BMKWeatherSearchOption.h:21
BMKWeatherSearchOption.h
BMKWeatherSearchResult
注意：天气服务高级字段，需要申请高级权限 http://lbsyun.baidu.com/apiconsole/fankui#?typeOne=产品需求&typeTwo=高级服务
Definition: BMKWeatherSearchResult.h:16
BMKWeatherSearchDelegate-p
搜索delegate，用于获取搜索结果
Definition: BMKWeatherSearch.h:32
BMKWeatherSearchResult.h
BMKWeatherSearch
weather搜索服务
Definition: BMKWeatherSearch.h:18
BMKSearchBase
检索服务基类
Definition: BMKSearchBase.h:14
BMKWeatherSearch::delegate
id< BMKWeatherSearchDelegate > delegate
检索模块的Delegate
Definition: BMKWeatherSearch.h:20