mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-14 07:19:25 +00:00
42 lines
1.2 KiB
Objective-C
42 lines
1.2 KiB
Objective-C
#import <LegacyComponents/TGModernGalleryItemView.h>
|
|
#import <LegacyComponents/TGModernGalleryEditableItemView.h>
|
|
#import <LegacyComponents/TGModernGalleryImageItemImageView.h>
|
|
#import <AVFoundation/AVFoundation.h>
|
|
|
|
@class TGPhotoEntitiesContainerView;
|
|
@protocol TGMediaEditableItem;
|
|
|
|
@interface TGMediaPickerGalleryVideoItemView : TGModernGalleryItemView <TGModernGalleryEditableItemView>
|
|
|
|
@property (nonatomic, strong) TGModernGalleryImageItemImageView *imageView;
|
|
@property (nonatomic, strong) AVPlayer *player;
|
|
|
|
@property (nonatomic, readonly) bool isPlaying;
|
|
|
|
@property (nonatomic, readonly) bool hasTrimming;
|
|
@property (nonatomic, readonly) CMTimeRange trimRange;
|
|
|
|
- (void)play;
|
|
- (void)stop;
|
|
|
|
- (void)playIfAvailable;
|
|
|
|
- (void)setPlayButtonHidden:(bool)hidden animated:(bool)animated;
|
|
- (void)toggleSendAsGif;
|
|
|
|
- (void)setScrubbingPanelApperanceLocked:(bool)locked;
|
|
- (void)setScrubbingPanelHidden:(bool)hidden animated:(bool)animated;
|
|
- (void)presentScrubbingPanelAfterReload:(bool)afterReload;
|
|
|
|
- (void)prepareForEditing;
|
|
- (void)returnFromEditing;
|
|
|
|
- (UIImage *)screenImage;
|
|
- (UIImage *)transitionImage;
|
|
- (CGRect)editorTransitionViewRect;
|
|
- (TGPhotoEntitiesContainerView *)entitiesView;
|
|
|
|
- (id<TGMediaEditableItem>)editableMediaItem;
|
|
|
|
@end
|