mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
20 lines
887 B
Objective-C
20 lines
887 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;
|
|
@property (nonatomic, readonly) NSTimeInterval duration;
|
|
|
|
@property (nonatomic, copy) void (^updateAdjustments)(id<TGEditablePhotoItem> editableMediaItem, id<TGMediaEditAdjustments> adjustments);
|
|
@property (nonatomic, copy) void (^updateThumbnail)(id<TGEditablePhotoItem> editableMediaItem, UIImage *screenImage, UIImage *thumbnailImage);
|
|
|
|
- (instancetype)initWithFileURL:(NSURL *)fileURL dimensions:(CGSize)dimensions duration:(NSTimeInterval)duration;
|
|
|
|
@end
|