System/Library/PrivateFrameworks/Pegasus.framework
PGPictureInPictureViewController.h
Download PGPictureInPictureViewController.h
@class PGStashView, NSUUID, PGPictureInPictureViewControllerBackgroundView, PGControlsContainerView, PGStashedMaskView, UITapGestureRecognizer, PGMobilePIPSettings, UIView, NSString, PGHostedWindowHostingHandle, PGPictureInPictureViewControllerClippingView, UIPointerInteraction, NSArray, PGPortalView, PGPictureInPictureApplication, PGLayerHostView, PGControlsViewModel;
@protocol PGPictureInPictureViewControllerContentContainer, PGPictureInPictureAnalyticsDelegate, PGPictureInPictureViewControllerDelegate;
@interface PGPictureInPictureViewController : UIViewController <UIPointerInteractionDelegate, PTSettingsKeyPathObserver, PGPlaybackStateDiffConsumer, PGCommandHandler> {
PGHostedWindowHostingHandle *_hostedWindowHostingHandle;
PGPictureInPictureViewControllerBackgroundView *_backgroundView;
UIView *_containerView;
PGLayerHostView *_contentView;
PGPictureInPictureViewControllerClippingView *_contentClippingView;
PGControlsContainerView *_controlsContainerView;
PGControlsViewModel *_viewModel;
UIView *_shadowView;
UIView *_tabShadowView;
PGStashView *_stashView;
PGStashedMaskView *_stashMaskView;
PGPortalView *_leftSideContentPortalView;
PGPortalView *_rightSideContentPortalView;
BOOL _initialLayerFrameIsNull;
BOOL _prefersIdleTimerDisabled;
BOOL _isSuspended;
BOOL _stashTabHidden;
BOOL _stashTabShownLeft;
BOOL _isShowingChrome;
BOOL _portalsWereActive;
BOOL _portalsWereActiveLeft;
BOOL _isMicroPIP;
id _stashTabSpringBehavior;
unsigned long long _inFlightStashTabAnimationIdentifier;
unsigned long long _inFlightStashProgressAnimationIdentifier;
UITapGestureRecognizer *_stashedTapGestureRecognizer;
struct CGSize { double width; double height; } _preferredContentSize;
id<PGPictureInPictureAnalyticsDelegate> _analyticsDelegate;
NSUUID *_analyticsSourceUUID;
NSUUID *_analyticsSessionUUID;
BOOL _startedAutomatically;
struct { unsigned char prepareStopAnimationWithCompletionHandler : 1; unsigned char acquireInterfaceOrientationLock : 1; unsigned char relinquishInterfaceOrientationLock : 1; unsigned char handleTapWhileStashedGesture : 1; unsigned char handleDoubleTapGesture : 1; unsigned char performRotateAnimationWithRotation : 1; } _contentContainerRespondsTo;
PGMobilePIPSettings *_settings;
BOOL _shouldDisablePointerInteraction;
}
@property (class, readonly, nonatomic) double defaultContentCornerRadius;
@property (weak, nonatomic) UIPointerInteraction *pointerInteraction;
@property (copy, nonatomic) id /* block */ waitForUIFinalizationCompletionBlock;
@property (nonatomic) double currentContentCornerRadius;
@property (readonly, nonatomic) long long controlsStyle;
@property (retain, nonatomic) PGHostedWindowHostingHandle *hostedWindowHostingHandle;
@property (nonatomic) struct CGSize { double width; double height; } microPIPSize;
@property (retain, nonatomic) PGHostedWindowHostingHandle *microPIPHostedWindowHostingHandle;
@property (copy, nonatomic) NSArray *menuItems;
@property (weak, nonatomic) id<PGPictureInPictureViewControllerDelegate> delegate;
@property (nonatomic, getter=isInterrupted) BOOL interrupted;
@property (readonly, nonatomic) PGControlsViewModel *viewModel;
@property (readonly, weak, nonatomic) PGPictureInPictureApplication *application;
@property (readonly, nonatomic) NSString *sourceSceneSessionPersistentIdentifier;
@property (weak, nonatomic) id<PGPictureInPictureViewControllerContentContainer> contentContainer;
@property (nonatomic) BOOL canStartShowingChrome;
@property (readonly, weak, nonatomic) PGPictureInPictureViewController *tetheredViewController;
@property (readonly, weak, nonatomic) PGPictureInPictureViewController *tetheringViewController;
@property (readonly, nonatomic) long long tetheringMode;
@property (readonly, nonatomic) long long contentType;
@property (readonly, nonatomic) UIView *contentContainerView;
@property (nonatomic, getter=isInteractivelyResizing) BOOL interactivelyResizing;
@property (readonly, nonatomic) double preferredMinimumWidth;
@property (nonatomic) struct CGSize { double width; double height; } minimumStashTabSize;
@property (nonatomic) BOOL stashed;
@property (nonatomic) BOOL prefersStashTabSuppressed;
@property (readonly, nonatomic) BOOL wantsStashTabSuppression;
@property (readonly, nonatomic) BOOL isStashTabHidden;
@property (readonly, nonatomic) BOOL prefersIdleTimerDisabled;
@property (readonly, nonatomic) BOOL prefersHiddenFromClonedDisplay;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;
+ (void)animateViewWithAnimationType:(long long)a0 initialSpringVelocity:(double)a1 animations:(id /* block */)a2 completion:(id /* block */)a3;
+ (void)tetherViewController:(id)a0 toViewController:(id)a1 mode:(long long)a2;
- (long long)preferredInterfaceOrientationForPresentation;
- (BOOL)shouldAutorotate;
- (void)settings:(id)a0 changedValueForKeyPath:(id)a1;
- (void)dealloc;
- (void)viewWillLayoutSubviews;
- (void)viewDidLoad;
- (void)loadView;
- (id)pointerInteraction:(id)a0 regionForRequest:(id)a1 defaultRegion:(id)a2;
- (id)initWithNibName:(id)a0 bundle:(id)a1;
- (void)_updateCornerRadii;
- (void).cxx_destruct;
- (id)pointerInteraction:(id)a0 styleForRegion:(id)a1;
- (void)setPreferredContentSize:(struct CGSize { double x0; double x1; })a0;
- (id)initWithCoder:(id)a0;
- (struct CGSize { double x0; double x1; })preferredContentSize;
- (id)_newShadowView;
- (void)handleCommand:(id)a0;
- (void)_updatePrefersIdleTimerDisabled;
- (void)acquireInterfaceOrientationLock;
- (void)setTetheredViewController:(id)a0 mode:(long long)a1;
- (void)_addMaskViewSubviewIfNeeded;
- (void)_applyShadowSettingsToView:(id)a0;
- (void)_handleTapWhileStashedGestureRecognizer:(id)a0;
- (void)_insertContentContainerViewIfNeeded;
- (void)_layoutStashTabViewsIfNeeded;
- (void)_loadShadowViewIfNeeded;
- (void)_loadTabShadowViewIfNeeded;
- (void)_noteTetheringDidUpdate;
- (void)_performStartAnimationWithCompletionHandler:(id /* block */)a0;
- (void)_performStopAnimationWithFinalInterfaceOrientation:(long long)a0 finalLayerFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 completionHandler:(id /* block */)a2;
- (void)_resetStashTabViewsIfPossible;
- (void)_setPortalActive:(BOOL)a0 left:(BOOL)a1;
- (void)_setStashMaskActive:(BOOL)a0;
- (void)_setStashedTabHidden:(BOOL)a0 left:(BOOL)a1;
- (void)_updateContentCornerRadiusForMaskActive:(BOOL)a0;
- (void)_updatePointerEffect;
- (void)_updateStashTabStateWithBehavior:(id)a0;
- (void)deactivateAnalyticsSessionIfNeeded;
- (void)flashControls;
- (void)hostedWindowSizeChangeBegan;
- (void)hostedWindowSizeChangeEnded;
- (id)initWithApplication:(id)a0 sourceSceneSessionPersistentIdentifier:(id)a1 controlsStyle:(long long)a2;
- (void)notePictureInPictureStartedAutomatically:(BOOL)a0;
- (void)notePictureInPictureWillStopForAppRequest:(BOOL)a0 preferredFullScreenRestore:(BOOL)a1;
- (void)performResumeAnimationWithCompletionHandler:(id /* block */)a0;
- (void)performRotateAnimationWithRotation:(long long)a0 completionHandler:(id /* block */)a1;
- (void)performStartAnimated:(BOOL)a0 withCompletionHandler:(id /* block */)a1;
- (void)performStopAnimated:(BOOL)a0 withFinalInterfaceOrientation:(long long)a1 finalLayerFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a2 completionHandler:(id /* block */)a3;
- (void)performSuspendAnimationWithCompletionHandler:(id /* block */)a0;
- (void)prepareStartAnimationWithInitialInterfaceOrientation:(long long)a0 initialLayerFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 completionHandler:(id /* block */)a2;
- (void)prepareStopAnimationWithCompletionHandler:(id /* block */)a0;
- (void)relinquishInterfaceOrientationLock;
- (void)setAnalyticsDelegate:(id)a0 analyticsSourceUUID:(id)a1;
- (void)setContentCornerRadius:(double)a0 animated:(BOOL)a1;
- (void)setContentViewHidden:(BOOL)a0;
- (void)setShouldDisablePointerInteraction:(BOOL)a0;
- (void)setShowsPictureInPictureUnavailableIndicator:(BOOL)a0;
- (void)setStashProgress:(double)a0;
- (void)setStashTabHidden:(BOOL)a0 left:(BOOL)a1 withSpringBehavior:(id)a2;
- (void)setTetheringViewController:(id)a0 mode:(long long)a1;
- (void)showChrome:(BOOL)a0 animated:(BOOL)a1;
- (BOOL)showsPictureInPictureUnavailableIndicator;
- (void)updateHostedWindowSize:(struct CGSize { double x0; double x1; })a0;
- (void)updatePlaybackStateWithDiff:(id)a0;
@end