Swiftgram/LegacyComponents/TGAttachmentCameraView.h
2017-07-28 16:50:06 +03:00

26 lines
553 B
Objective-C

#import <UIKit/UIKit.h>
@class TGCameraPreviewView;
@interface TGAttachmentCameraView : UIView
@property (nonatomic, copy) void (^pressed)(void);
- (instancetype)initForSelfPortrait:(bool)selfPortrait;
@property (nonatomic, readonly) bool previewViewAttached;
- (void)detachPreviewView;
- (void)attachPreviewViewAnimated:(bool)animated;
- (void)willAttachPreviewView;
- (void)startPreview;
- (void)stopPreview;
- (void)resumePreview;
- (void)pausePreview;
- (void)setZoomedProgress:(CGFloat)progress;
- (TGCameraPreviewView *)previewView;
@end