BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKDrivingRouteSearch.h
浏览该文件的文档.
1 //
2 // BMKDrivingRouteSearch.h
3 // SearchComponent
4 //
5 // Created by zhangbaojin on 2026/1/8.
6 // Copyright © 2026 Baidu. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import "BMKDrivingRouteSearchOption.h"
11 #import "BMKDrivingRouteSearchResult.h"
12 #import "BMKSearchBase.h"
13
14 NS_ASSUME_NONNULL_BEGIN
15
16 @protocol BMKDrivingRouteSearchDelegate;
17
20 @interface BMKDrivingRouteSearch : BMKSearchBase
21
23 @property (nonatomic, weak, nullable) id<BMKDrivingRouteSearchDelegate> delegate;
24
31 - (BOOL)drivingRouteSearch:(BMKDrivingRouteSearchOption *)option;
32
33 @end
34
36 @protocol BMKDrivingRouteSearchDelegate<NSObject>
37 @optional
38
45 - (void)onGetDrivingRouteResult:(BMKDrivingRouteSearch *)searcher
46 result:(BMKDrivingRouteSearchResult * _Nullable)result
47 errorCode:(BMKSearchErrorCode)errorCode;
48
49 @end
50
51 NS_ASSUME_NONNULL_END
BMKDrivingRouteSearchOption.h
BMKSearchBase.h
BMKDrivingRouteSearchDelegate-p
驾车路线检索delegate，用于获取驾车路线搜索结果
Definition: BMKDrivingRouteSearch.h:36
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:159
BMKDrivingRouteSearchResult
Definition: BMKDrivingRouteSearchResult.h:23
BMKDrivingRouteSearch
Definition: BMKDrivingRouteSearch.h:21
BMKDrivingRouteSearchOption
Definition: BMKDrivingRouteSearchOption.h:19
BMKDrivingRouteSearch::delegate
id< BMKDrivingRouteSearchDelegate > delegate
驾车路线检索模块的Delegate
Definition: BMKDrivingRouteSearch.h:23
BMKSearchBase
检索服务基类
Definition: BMKSearchBase.h:14
BMKDrivingRouteSearchResult.h