mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
17 lines
510 B
Objective-C
17 lines
510 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
typedef enum {
|
|
TGSharedMediaAvailabilityStateAvailable,
|
|
TGSharedMediaAvailabilityStateNotAvailable,
|
|
TGSharedMediaAvailabilityStateDownloading
|
|
} TGSharedMediaAvailabilityStateType;
|
|
|
|
@interface TGSharedMediaAvailabilityState : NSObject
|
|
|
|
@property (nonatomic, readonly) TGSharedMediaAvailabilityStateType type;
|
|
@property (nonatomic, readonly) CGFloat progress;
|
|
|
|
- (instancetype)initWithType:(TGSharedMediaAvailabilityStateType)type progress:(CGFloat)progress;
|
|
|
|
@end
|