mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
18 lines
578 B
Objective-C
18 lines
578 B
Objective-C
#import "TGMediaPickerGalleryItem.h"
|
|
#import "TGModernGallerySelectableItem.h"
|
|
#import "TGModernGalleryEditableItem.h"
|
|
#import <AVFoundation/AVFoundation.h>
|
|
|
|
@protocol TGMediaEditAdjustments;
|
|
|
|
@interface TGMediaPickerGalleryVideoItem : TGMediaPickerGalleryItem <TGModernGallerySelectableItem, TGModernGalleryEditableItem>
|
|
|
|
@property (nonatomic, readonly) AVURLAsset *avAsset;
|
|
@property (nonatomic, readonly) CGSize dimensions;
|
|
|
|
- (instancetype)initWithFileURL:(NSURL *)fileURL dimensions:(CGSize)dimensions duration:(NSTimeInterval)duration;
|
|
|
|
- (SSignal *)durationSignal;
|
|
|
|
@end
|