1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGSharedMediaAvailabilityState.h
2015-10-01 19:19:52 +03:00

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