TencentNavKit
TNKDriveRoutePlanService.h
Go to the documentation of this file.
1//
2// TNKDriveRoutePlanService.h
3// TencentNavKit
4//
5// Created by mol on 2023/8/28.
6// Copyright © 2023 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <TencentNavKit/TNKDriveCommonObj.h>
11#import <TencentNavKit/TNKSearchTask.h>
12
13NS_ASSUME_NONNULL_BEGIN
14
18@interface TNKDriveRoutePlanService : NSObject
19
21+ (instancetype)sharedInstance;
22
23- (instancetype)init NS_UNAVAILABLE;
24
34- (TNKSearchTask * _Nullable)searchRoutesWithRequest:(TNKDriveRouteRequest *)request
35 completion:(void (^)(TNKDriveRouteSearchResult * _Nullable searchResult,
36 NSError * _Nullable error))completion;
37@end
38
39NS_ASSUME_NONNULL_END
独立算路服务,算路结果不能用于导航
Definition: TNKDriveRoutePlanService.h:19
instancetype sharedInstance()
单例模式,获取独立算路管理对象
instancetype NS_UNAVAILABLE()
驾车算路请求类
Definition: TNKDriveCommonObj.h:267
驾车算路返回数据类
Definition: TNKDriveCommonObj.h:418
路线规划任务类
Definition: TNKSearchTask.h:17