Swiftgram/submodules/LegacyComponents/Sources/TGEmbedPlayerScrubber.h
2020-02-22 15:38:54 +04:00

17 lines
434 B
Objective-C

#import <UIKit/UIKit.h>
@interface TGEmbedPlayerScrubber : UIControl
@property (nonatomic, copy) void (^onInteractionStart)();
@property (nonatomic, copy) void (^onSeek)(CGFloat position);
@property (nonatomic, copy) void (^onInteractionEnd)();
@property (nonatomic, readonly) bool isTracking;
- (void)setPosition:(CGFloat)position;
- (void)setDownloadProgress:(CGFloat)progress;
- (void)setTintColor:(UIColor *)tintColor;
@end