1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/Telegraph/TGMediaPickerAsset.h

19 lines
359 B
C
Raw Normal View History

2014-07-10 16:11:09 +02:00
#import <Foundation/Foundation.h>
@class ALAssetsLibrary;
@class ALAsset;
@interface TGMediaPickerAsset : NSObject
- (instancetype)initWithAssetsLibrary:(ALAssetsLibrary *)assetsLibrary asset:(ALAsset *)asset;
- (NSURL *)url;
- (UIImage *)thumbnail;
- (UIImage *)aspectThumbnail;
- (NSDate *)date;
- (bool)isVideo;
- (NSTimeInterval)videoDuration;
@end