BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
载入中...
搜索中...
未找到
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>
11#import <BaiduMapAPI_Base/BMKTypes.h>
12#import "BMKSearchBase.h"
14NS_ASSUME_NONNULL_BEGIN
15@protocol BMKWeatherSearchDelegate;
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
BMKSearchErrorCode
检索结果状态码
Definition BMKTypes.h:99
检索服务基类
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