BaiduMap_IOSSDK_v6.5.9_Docs
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"
14NS_ASSUME_NONNULL_BEGIN
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
44NS_ASSUME_NONNULL_END
检索服务基类
Definition: BMKSearchBase.h:14
weather搜索服务
Definition: BMKWeatherSearch.h:18
id< BMKWeatherSearchDelegate > delegate
检索模块的Delegate
Definition: BMKWeatherSearch.h:20
Definition: BMKWeatherSearchOption.h:21
注意:天气服务高级字段,需要申请高级权限 http://lbsyun.baidu.com/apiconsole/fankui#?typeOne=产品需求&typeTwo=高级服务
Definition: BMKWeatherSearchResult.h:16
搜索delegate,用于获取搜索结果
Definition: BMKWeatherSearch.h:32