Swiftgram/LegacyComponents/TGEmbedPlayerState.h
2017-07-28 16:50:06 +03:00

10 lines
345 B
Objective-C

#import <Foundation/Foundation.h>
#import "TGPIPAblePlayerView.h"
@interface TGEmbedPlayerState : NSObject <TGPIPAblePlayerState>
+ (instancetype)stateWithPlaying:(bool)playing;
+ (instancetype)stateWithPlaying:(bool)playing duration:(NSTimeInterval)duration position:(NSTimeInterval)position downloadProgress:(CGFloat)downloadProgress;
@end