BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
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
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
44NS_ASSUME_NONNULL_END
BMKSearchBase.h
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition BMKTypes.h:132
BMKWeatherSearchOption.h
BMKWeatherSearchResult.h
BMKSearchBase
检索服务基类
Definition BMKSearchBase.h:14
BMKWeatherSearch
weather搜索服务
Definition BMKWeatherSearch.h:18
BMKWeatherSearch::delegate
id< BMKWeatherSearchDelegate > delegate
检索模块的Delegate
Definition BMKWeatherSearch.h:20
BMKWeatherSearchOption
Definition BMKWeatherSearchOption.h:21
BMKWeatherSearchResult
注意：天气服务高级字段，需要申请高级权限 http://lbsyun.baidu.com/apiconsole/fankui#?typeOne=产品需求&typeTwo=高级服务
Definition BMKWeatherSearchResult.h:16