mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-11-03 21:09:22 -05:00 
			
		
		
		
	added files via upload
This commit is contained in:
		
							
								
								
									
										24
									
								
								Tweaks/YouTubeHeader/MLPIPController.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								Tweaks/YouTubeHeader/MLPIPController.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
#import <AVKit/AVKit.h>
 | 
			
		||||
#import "MLAVPIPPlayerLayerView.h"
 | 
			
		||||
#import "MLHAMSBDLSampleBufferRenderingView.h"
 | 
			
		||||
 | 
			
		||||
@interface MLPIPController : NSObject <AVPictureInPictureControllerDelegate, AVPictureInPictureSampleBufferPlaybackDelegate>
 | 
			
		||||
@property (nonatomic, strong, readwrite) MLAVPIPPlayerLayerView *AVPlayerView;
 | 
			
		||||
@property (nonatomic, strong, readwrite) MLHAMSBDLSampleBufferRenderingView *HAMPlayerView;
 | 
			
		||||
- (instancetype)initWithPlaceholderPlayerItem:(AVPlayerItem *)playerItem; // Deprecated
 | 
			
		||||
- (instancetype)initWithPlaceholderPlayerItemResourcePath:(NSString *)placeholderPath; // Deprecated
 | 
			
		||||
- (AVPictureInPictureControllerContentSource *)newContentSource API_AVAILABLE(ios(15.0));
 | 
			
		||||
- (BOOL)isPictureInPictureSupported;
 | 
			
		||||
- (BOOL)isPictureInPictureActive; // Deprecated
 | 
			
		||||
- (BOOL)pictureInPictureActive;
 | 
			
		||||
- (BOOL)contentSourceNeedsRefresh;
 | 
			
		||||
- (CGSize)renderSizeForView:(UIView *)view;
 | 
			
		||||
- (BOOL)startPictureInPicture; // Deprecated
 | 
			
		||||
- (void)stopPictureInPicture; // Deprecated
 | 
			
		||||
- (void)addPIPControllerObserver:(id)observer;
 | 
			
		||||
- (void)activatePiPController;
 | 
			
		||||
- (void)deactivatePiPController;
 | 
			
		||||
- (void)pictureInPictureControllerStartPlayback;
 | 
			
		||||
- (void)pictureInPictureControllerStopPlayback;
 | 
			
		||||
- (void)pause;
 | 
			
		||||
@end
 | 
			
		||||
		Reference in New Issue
	
	Block a user