Swiftgram/LegacyComponents/TGEmbedPlayerState.h
2018-01-09 13:17:12 +04:00

10 lines
371 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 buffering:(bool)buffering;
@end