增加换肤功能
This commit is contained in:
24
TUIKit/TUIChat/CommonUI/Camera/TUICaptureTimer.h
Normal file
24
TUIKit/TUIChat/CommonUI/Camera/TUICaptureTimer.h
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
// Created by Tencent on 2023/06/09.
|
||||
// Copyright © 2023 Tencent. All rights reserved.
|
||||
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface TUICaptureTimer : NSObject
|
||||
@property(nonatomic, assign) CGFloat maxCaptureTime;
|
||||
@property(nonatomic, assign, readonly) CGFloat captureDuration;
|
||||
|
||||
@property(nonatomic, copy) void (^progressBlock)(CGFloat ratio, CGFloat recordTime);
|
||||
@property(nonatomic, copy) void (^progressCancelBlock)(void);
|
||||
@property(nonatomic, copy) void (^progressFinishBlock)(CGFloat ratio, CGFloat recordTime);
|
||||
|
||||
- (void)startTimer;
|
||||
- (void)stopTimer;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user