JLChen
2021-05-18 a869383e163a18cdedcf587383c1eca043129754
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
//
//  Copyright © 2020 dahua. All rights reserved.
//
 
#import <UIKit/UIKit.h>
 
NS_ASSUME_NONNULL_BEGIN
 
 
typedef void(^DownloadStatusViewClickBlock)(void);
 
@interface LCVideotapeDownloadStatusView : UIView
 
/// 总大小
@property (nonatomic) NSInteger size;
/// 增量大小
@property (nonatomic) NSInteger recieve;
/// 当前下载进度
@property (nonatomic) NSInteger totalRevieve;
///取消下载
@property (copy,nonatomic) DownloadStatusViewClickBlock cancleBlock;
 
 
 
+(instancetype)showDownloadStatusInView:(UIView *)view Size:(NSInteger)size;
 
- (void)dismiss;
 
@end
 
NS_ASSUME_NONNULL_END