JLChen
2021-04-30 a5247b61d585627a1a7b1e1f35f34de9f0af9fba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
//  Copyright © 2020 dahua. All rights reserved.
//
 
#import <UIKit/UIKit.h>
#import "LCUIKit.h"
#import "LCLivePreviewPresenter.h"
#import "LCLivePreviewPresenter+Control.h"
#import "LCVideotapePlayProcessView.h"
NS_ASSUME_NONNULL_BEGIN
 
@protocol LCLandscapeControlViewDelegate <NSObject>
 
//当前title
- (NSString *)currentTitle;
//当前按钮数组
- (NSMutableArray *)currentButtonItem;
//改变播放进度
-(void)changePlayOffset:(NSInteger)offsetTime;
/**
 返回按钮点击相应事件
 
 @param btn 相应的按钮
 */
- (void)naviBackClick:(LCButton *)btn;
 
/**
 是否锁定全屏
 */
- (void)lockFullScreen:(LCButton *)btn;
 
@end
 
@interface LCLandscapeControlView : UIView
 
@property (strong, nonatomic) LCLivePreviewPresenter *presenter;
@property (weak, nonatomic) id<LCLandscapeControlViewDelegate> delegate;
// 是否需要进度条
@property (nonatomic) BOOL isNeedProcess;
///进度条视图
@property (strong, nonatomic) LCVideotapePlayProcessView * processView;
 
///设定当前录像的开始,结束时间
-(void)setStartDate:(NSDate *)startDate EndDate:(NSDate *)endDate;
///当前解码时间戳
@property (strong,nonatomic)NSDate * currentDate;
 
@end
 
NS_ASSUME_NONNULL_END