TencentMapSDK_iOS_3D_v6.8.0

载入中...
搜索中...
未找到
QMSSearcher.h
1//
2// QMSSearcher.h
3// QMapSearchKit
4//
5// Created by fan on 2019/3/14.
6// Copyright © 2019 tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "QMSSearchOption.h"
11#import "QMSSearchResult.h"
12#import "QMSSearchError.h"
13#import "QMSDistanceMatrixSearchOption.h"
14#import "QMSDistanceMatrixSearchResult.h"
15
16NS_ASSUME_NONNULL_BEGIN
17
18@protocol QMSSearchDelegate;
19
23@interface QMSSearcher : NSObject
24
28@property (nonatomic, weak) id<QMSSearchDelegate> delegate;
29
37- (instancetype)initWithDelegate:(id<QMSSearchDelegate>)delegate;
38
44- (void)cancelAllRequests;
45
46
53- (void)searchWithWalkingRouteSearchOption:(QMSWalkingRouteSearchOption *)wakingRouteSearchOption NS_SWIFT_NAME(searchWithWalkingRouteSearchOption(_:));
54
61- (void)searchWithBicyclingRouteSearchOption:(QMSBicyclingRouteSearchOption *)bicyclingRouteSearchOption NS_SWIFT_NAME(searchWithBicyclingRouteSearchOption(_:));
62
69- (void)searchWithPoiSearchOption:(QMSPoiSearchOption *)poiSearchOption NS_SWIFT_NAME(searchWithPoiSearchOption(_:));
70
77- (void)searchWithPoiExploreSearchOption:(QMSPoiExploreSearchOption *)poiExploreSearchOption NS_SWIFT_NAME(searchWithPoiExploreSearchOption(_:));
78
85- (void)searchWithPoiDetailSearchOption:(QMSPoiDetailSearchOption *)poiDetailSearchOption NS_SWIFT_NAME(searchWithPoiDetailSearchOption(_:));
86
87
94- (void)searchWithSuggestionSearchOption:(QMSSuggestionSearchOption *)suggestionSearchOption NS_SWIFT_NAME(searchWithSuggestionSearchOption(_:));
95
102- (void)searchWithReverseGeoCodeSearchOption:(QMSReverseGeoCodeSearchOption *)reverseGeoCodeSearchOption NS_SWIFT_NAME(searchWithReverseGeoCodeSearchOption(_:));
103
110- (void)searchWithGeoCodeSearchOption:(QMSGeoCodeSearchOption *)geoCodeSearchOption NS_SWIFT_NAME(searchWithGeoCodeSearchOption(_:));
111
112
119- (void)searchWithDrivingRouteSearchOption:(QMSDrivingRouteSearchOption *)drivingRouteSearchOption NS_SWIFT_NAME(searchWithDrivingRouteSearchOption(_:));
120
127- (void)searchWithTruckingRouteSearchOption:(QMSTruckingRouteSearchOption *)truckingRouteSearchOption NS_SWIFT_NAME(searchWithTruckingRouteSearchOption(_:));
128
135- (void)searchWithBusingRouteSearchOption:(QMSBusingRouteSearchOption *)busingRouteSearchOption NS_SWIFT_NAME(searchWithBusingRouteSearchOption(_:));
136
145- (void)searchWithDistrictListSearchOption:(QMSDistrictListSearchOption *)districtListSearchOption NS_SWIFT_NAME(searchWithDistrictListSearchOption(_:));
146
155- (void)searchWithDistrictChildrenSearchOption:(QMSDistrictChildrenSearchOption *)districtChildrenSearchOption NS_SWIFT_NAME(searchWithDistrictChildrenSearchOption(_:));
156
165- (void)searchWithDistrictSearchSearchOption:(QMSDistrictSearchSearchOption *)districtSearchSearchOption NS_SWIFT_NAME(searchWithDistrictSearchSearchOption(_:));
166
175- (void)searchWithDistanceMatrixSearchSearchOption:(QMSDistanceMatrixSearchOption *)distanceMatrixSearchOption NS_SWIFT_NAME(distanceMatrixSearchOption(_:));
176
177@end
178
182@protocol QMSSearchDelegate <NSObject>
183
184@optional
185
192- (void)searchWithSearchOption:(QMSSearchOption *)searchOption didFailWithError:(NSError*)error;
193
200- (void)searchWithWalkingRouteSearchOption:(QMSWalkingRouteSearchOption *)walkingRouteSearchOption didRecevieResult:(QMSWalkingRouteSearchResult *)walkingRouteSearchResult;
201
208- (void)searchWithBicyclingRouteSearchOption:(QMSBicyclingRouteSearchOption *)bicyclingRouteSearchOption didRecevieResult:(QMSBicyclingRouteSearchResult *)bicyclingRouteSearchResult;
209
216- (void)searchWithPoiSearchOption:(QMSPoiSearchOption *)poiSearchOption didReceiveResult:(QMSPoiSearchResult *)poiSearchResult;
217
224- (void)searchWithPoiExploreSearchOption:(QMSPoiExploreSearchOption *)poiExploreSearchOption didReceiveResult:(QMSPoiSearchResult *)poiSearchResult;
225
232- (void)searchWithPoiDetailSearchOption:(QMSPoiDetailSearchOption *)poiDetailSearchOption didReceiveResult:(QMSPoiSearchResult *)poiSearchResult;
233
240- (void)searchWithSuggestionSearchOption:(QMSSuggestionSearchOption *)suggestionSearchOption didReceiveResult:(QMSSuggestionResult *)suggestionSearchResult;
241
248- (void)searchWithReverseGeoCodeSearchOption:(QMSReverseGeoCodeSearchOption *)reverseGeoCodeSearchOption didReceiveResult:(QMSReverseGeoCodeSearchResult *)reverseGeoCodeSearchResult;
249
256- (void)searchWithGeoCodeSearchOption:(QMSGeoCodeSearchOption *)geoCodeSearchOption didReceiveResult:(QMSGeoCodeSearchResult *)geoCodeSearchResult;
257
258
265- (void)searchWithDrivingRouteSearchOption:(QMSDrivingRouteSearchOption *)drivingRouteSearchOption didRecevieResult:(QMSDrivingRouteSearchResult *)drivingRouteSearchResult;
266
273- (void)searchWithTruckingRouteSearchOption:(QMSTruckingRouteSearchOption *)truckingRouteSearchOption didRecevieResult:(QMSTruckingRouteSearchResult *)truckingRouteSearchResult;
274
281- (void)searchWithBusingRouteSearchOption:(QMSBusingRouteSearchOption *)busingRouteSearchOption didRecevieResult:(QMSBusingRouteSearchResult *)busingRouteSearchResult;
282
291- (void)searchWithDistrictSearchOption:(QMSDistrictBaseSearchOption *)districtSearchOption didRecevieResult:(QMSDistrictSearchResult *)districtSearchResult;
292
299- (void)searchWithDistanceMatrixSearchOption:(QMSDistanceMatrixSearchOption *)distanceMatrixSearchOption didRecevieResult:(QMSDistanceMatrixSearchResult *)distanceMatrixSearchResult;
300
301@end
302
303NS_ASSUME_NONNULL_END
QMSBicyclingRouteSearchOption
骑行路线规划的检索参数
定义 QMSSearchOption.h:463
QMSBicyclingRouteSearchResult
骑行路线规划的检索结果
定义 QMSSearchResult.h:791
QMSBusingRouteSearchOption
公交路线规划的检索参数
定义 QMSSearchOption.h:1039
QMSBusingRouteSearchResult
公交路径规划结果
定义 QMSSearchResult.h:1388
QMSDistanceMatrixSearchOption
距离矩阵计算检索
定义 QMSDistanceMatrixSearchOption.h:18
QMSDistanceMatrixSearchResult
距离矩阵计算结果
定义 QMSDistanceMatrixSearchResult.h:52
QMSDistrictBaseSearchOption
行政区划的检索参数基类
定义 QMSSearchOption.h:1113
QMSDistrictChildrenSearchOption
获取子行政区划列表的检索参数
定义 QMSSearchOption.h:1144
QMSDistrictListSearchOption
行政区划列表的检索参数
定义 QMSSearchOption.h:1135
QMSDistrictSearchResult
行政区划检索的结果
定义 QMSSearchResult.h:1463
QMSDistrictSearchSearchOption
定义 QMSSearchOption.h:1155
QMSDrivingRouteSearchOption
驾车路线规划的检索参数
定义 QMSSearchOption.h:606
QMSDrivingRouteSearchResult
驾车路线检索结果
定义 QMSSearchResult.h:1046
QMSGeoCodeSearchOption
定义 QMSSearchOption.h:394
QMSGeoCodeSearchResult
地址解析检索结果
定义 QMSSearchResult.h:724
QMSPoiDetailSearchOption
ID查询（detail)
定义 QMSSearchOption.h:226
QMSPoiExploreSearchOption
周边推荐
定义 QMSSearchOption.h:150
QMSPoiSearchOption
定义 QMSSearchOption.h:34
QMSPoiSearchResult
Poi检索结果
定义 QMSSearchResult.h:218
QMSReverseGeoCodeSearchOption
定义 QMSSearchOption.h:332
QMSReverseGeoCodeSearchResult
逆地址检索结果
定义 QMSSearchResult.h:668
QMSSearchOption
检索参数的基类
定义 QMSSearchOption.h:16
QMSSearcher
Search检索的主入口
定义 QMSSearcher.h:24
QMSSearcher::delegate
id< QMSSearchDelegate > delegate
实现QMSSearchDelegate协议的对象
定义 QMSSearcher.h:28
-[QMSSearcher cancelAllRequests]
void cancelAllRequests()
取消所有未回调的请求，触发错误回调。 error 对应的 domain 为 QMSSearchErrorDomain code 为 QMSSearchErrorCancelled = -1
QMSSuggestionResult
关键词提示检索结果
定义 QMSSearchResult.h:362
QMSSuggestionSearchOption
定义 QMSSearchOption.h:238
QMSTruckingRouteSearchOption
定义 QMSSearchOption.h:828
QMSTruckingRouteSearchResult
货车路线检索结果
定义 QMSSearchResult.h:1181
QMSWalkingRouteSearchOption
步行路线规划的检索参数
定义 QMSSearchOption.h:413
QMSWalkingRouteSearchResult
步行路线规划的检索结果
定义 QMSSearchResult.h:777