OpenSDK8.1.1
Loading...
Searching...
No Matches
BNDriveLimitLineManagerProtocol.h
1//
2// BNDriveLimitLineManagerProtocol.h
3// BNOpenCommonKit
4//
5// Created by v_lisisi on 2025/12/18.
6// Copyright © 2025 Chen,Xintao. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10@protocol BNDriveLimitLineManagerDelegate <NSObject>
11-(void)onHandleLimitLineViewControllerDidClickBackButton:(UIViewController *_Nullable)detailVC;
12@end
13NS_ASSUME_NONNULL_BEGIN
14
15@protocol BNDriveLimitLineManagerProtocol <NSObject>
16
18@property (nonatomic, assign) NSInteger limitLineDisplayDuration;
19
20@property (nonatomic, weak) id<BNDriveLimitLineManagerDelegate> delegate;
21
24- (UIViewController *)createLimitLineViewControllerWithRouteIndex:(NSInteger)routeIndex;
25
28- (UIViewController *)createLimitLineViewControllerWithLimitIds:(NSArray *)limitIds;
29
32- (void)showLimitLineLayerWithRouteIndex:(NSInteger)routeIndex;
33
36
37
38@end
39
40NS_ASSUME_NONNULL_END
NSInteger limitLineDisplayDuration
限行面 展示时长默认20s。 如需一直展示.则设置成 -1
Definition BNDriveLimitLineManagerProtocol.h:18
void hideLimitLineLayer()
隐藏路线页的限行面图层