Files
main/Tweaks/YouPiP/AVKit-Header.h
2023-06-27 09:54:41 +02:00

18 lines
737 B
Objective-C

#import <AVFoundation/AVFoundation.h>
#import <AVKit/AVKit.h>
#import <UIKit/UIKit.h>
@interface AVPlayerController : UIResponder
@end
@interface AVPictureInPictureControllerContentSource (Private)
@property(assign) bool hasInitialRenderSize;
@end
@interface AVPictureInPictureController (Private)
@property(nonatomic, retain) AVPictureInPictureControllerContentSource *contentSource API_AVAILABLE(ios(15.0)); // retain -> strong on iOS 15
- (instancetype)initWithContentSource:(AVPictureInPictureControllerContentSource *)contentSource API_AVAILABLE(ios(15.0));
- (void)sampleBufferDisplayLayerRenderSizeDidChangeToSize:(CGSize)renderSize;
- (void)sampleBufferDisplayLayerDidAppear;
- (void)sampleBufferDisplayLayerDidDisappear;
@end