@class NSString, NSSet, PGPictureInPictureApplication, NSDictionary, PGBackgroundPIPService, NSMutableSet, NSObject, NSXPCListener, PGPictureInPictureRemoteObject, PGInterruptionAssistant; @protocol OS_dispatch_queue, PGPictureInPictureControllerDelegate, PGPictureInPictureAnalyticsDelegate; @interface PGPictureInPictureController : NSObject { struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock; NSMutableSet *_lock_pictureInPictureRemoteObjects; NSMutableSet *_pictureInPictureRemoteObjectsSupportingActiveSessionCancellationOnStart; NSXPCListener *_listener; NSObject *_listenerQueue; NSMutableSet *_activePictureInPictureRemoteObjects; PGPictureInPictureRemoteObject *_suspendedPictureInPictureRemoteObject; PGBackgroundPIPService *_backgroundPIPService; PGInterruptionAssistant *_interruptionAssistant; id _delegate; PGPictureInPictureRemoteObject *_remoteObjectThatRequestedStop; struct { unsigned char pictureInPictureController_didCreatePictureInPictureViewController : 1; unsigned char pictureInPictureController_willDestroyPictureInPictureViewController : 1; unsigned char pictureInPictureController_willHidePictureInPictureViewController : 1; unsigned char pictureInPictureController_didHidePictureInPictureViewController : 1; unsigned char pictureInPictureController_shouldCancelPictureInPictureForApplication_whenStartingPictureInPictureForApplication : 1; unsigned char pictureInPictureController_shouldDenyNewConnection : 1; unsigned char pictureInPictureController_didRequestStopForPictureInPictureViewController_sourceSceneSessionIdentifier_animated : 1; } _delegateRespondsTo; } @property (readonly, nonatomic, getter=isPictureInPictureActive) BOOL pictureInPictureActive; @property (readonly, nonatomic) NSSet *pictureInPictureApplications; @property (readonly, nonatomic) NSSet *activePictureInPictureApplications; @property (readonly, nonatomic) NSSet *activePictureInPictureApplicationsStoppingOrCancelling; @property (readonly, nonatomic) PGPictureInPictureApplication *activePictureInPictureApplication; @property (readonly, nonatomic) NSDictionary *activeSceneSessionIdentifiersByApplication; @property (readonly, nonatomic) BOOL isStartingStoppingOrCancellingPictureInPicture; @property (weak, nonatomic) id delegate; @property (weak, nonatomic) id analyticsDelegate; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (BOOL)isPictureInPictureSupported; - (id)init; - (void)dealloc; - (BOOL)listener:(id)a0 shouldAcceptNewConnection:(id)a1; - (void).cxx_destruct; - (void)_addRemoteObject:(id)a0; - (id)_faceTimeVideoCallInterruptionExemption; - (id)_faceTimeVideoCallRemoteObject; - (BOOL)_hasActiveNonVideoCallRemoteObjectAuthorizedForBackgroundPIP; - (id)_pictureInPictureRemoteObjects; - (id)_remoteObjectForPictureInPictureApplication:(id)a0 passingTest:(id /* block */)a1 error:(id *)a2; - (id)_remoteObjectForPictureInPictureApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1 error:(id *)a2; - (id)_remoteObjectForTestApplicationWithBundleIdentifier:(id)a0; - (id)_remoteObjectThatCanCancelPictureInPictureApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1 error:(id *)a2; - (id)_remoteObjectThatCanEndTwoStageStopPictureInPictureApplication:(id)a0 error:(id *)a1; - (id)_remoteObjectThatCanStopPictureInPictureApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1 error:(id *)a2; - (id)_remoteObjectThatShouldStartPictureInPictureEnteringBackgroundForPictureInPictureApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1 error:(id *)a2; - (id)_remoteObjectsForPictureInPictureApplication:(id)a0; - (void)_removeRemoteObject:(id)a0; - (void)_updateAllRemoteObjectsForPIPPossibleAndExemptAttributions; - (void)activateBackgroundPIPAuthorizationService; - (BOOL)backgroundPIPService:(id)a0 canAuthorizeBackgroundPIPForActivitySessionWithIdentifier:(id)a1 appBundleIdentifier:(id)a2; - (void)backgroundPIPService:(id)a0 didGrantBackgroundPIPAuthorizationForActivitySessionWithIdentifier:(id)a1; - (void)backgroundPIPService:(id)a0 didRevokeBackgroundPIPAuthorizationForActivitySessionWithIdentifier:(id)a1; - (void)beginTwoStageStopPictureInPictureForApplication:(id)a0 withSceneSessionPersistentIdentifier:(id)a1 animated:(BOOL)a2 byRestoringUserInterfaceWithCompletionHandler:(id /* block */)a3; - (void)cancelPictureInPictureForApplication:(id)a0; - (void)cancelPictureInPictureForApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1; - (long long)contentTypePictureInPictureApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1; - (void)endTwoStageStopPictureInPictureForApplication:(id)a0 withSceneSessionPersistentIdentifier:(id)a1 animated:(BOOL)a2 completionHandler:(id /* block */)a3; - (id)existingPictureInPictureApplicationForBundleIdentifier:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })initialFrameForInteractivePictureInPictureAnimationEnteringBackgroundForApplication:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })initialFrameForInteractivePictureInPictureAnimationEnteringBackgroundForApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1; - (BOOL)isStoppingOrCancellingPictureInPictureForApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1; - (void)pictureInPictureInterruptionBegan; - (void)pictureInPictureInterruptionBeganWithReason:(long long)a0; - (BOOL)pictureInPictureInterruptionBeganWithReason:(long long)a0 attribution:(id)a1; - (void)pictureInPictureInterruptionEnded; - (void)pictureInPictureInterruptionEndedWithReason:(long long)a0; - (void)pictureInPictureInterruptionEndedWithReason:(long long)a0 attribution:(id)a1; - (void)pictureInPictureRemoteObject:(id)a0 didCreatePictureInPictureViewController:(id)a1; - (void)pictureInPictureRemoteObject:(id)a0 didHidePictureInPictureViewController:(id)a1; - (void)pictureInPictureRemoteObject:(id)a0 didRequestPictureInPictureStopForViewController:(id)a1 sourceSceneSessionIdentifier:(id)a2 animated:(BOOL)a3; - (void)pictureInPictureRemoteObject:(id)a0 didShowPictureInPictureViewController:(id)a1; - (void)pictureInPictureRemoteObject:(id)a0 requestActivationOfSceneWithPersistenceIdentier:(id)a1 completion:(id /* block */)a2; - (void)pictureInPictureRemoteObject:(id)a0 willDestroyPictureInPictureViewController:(id)a1; - (void)pictureInPictureRemoteObject:(id)a0 willHidePictureInPictureViewController:(id)a1; - (void)pictureInPictureRemoteObject:(id)a0 willShowPictureInPictureViewController:(id)a1; - (BOOL)pictureInPictureRemoteObjectHasBackgroundPIPAuthorization:(id)a0; - (id)pictureInPictureRemoteObjectInterruptionAssistant:(id)a0; - (void)pictureInPictureRemoteObjectNeedsActivationAndInterruptionPolicyUpdate:(id)a0; - (BOOL)pictureInPictureRemoteObjectShouldAcceptSetupRequest:(id)a0; - (BOOL)pictureInPictureRemoteObjectShouldCancelActivePictureInPictureOnStart:(id)a0; - (BOOL)pictureInPictureRemoteObjectShouldUpdateCancellationPolicyOnStart:(id)a0; - (struct CGSize { double x0; double x1; })preferredContentSizeForActivePictureInPictureWithApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1; - (struct CGSize { double x0; double x1; })preferredContentSizeForInteractivePictureInPictureAnimationEnteringBackgroundForApplication:(id)a0; - (struct CGSize { double x0; double x1; })preferredContentSizeForInteractivelyEnteringBackgroundForApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1; - (void)restorePictureInPictureTestActionForApplicationWithBundleIdentifier:(id)a0; - (BOOL)shouldStartPictureInPictureForApplicationEnteringBackground:(id)a0; - (BOOL)shouldStartPictureInPictureForApplicationEnteringBackground:(id)a0 sceneSessionPersistentIdentifier:(id)a1; - (void)startMicroPIPIfPossibleForVideoCallWithScenePersistenceIdentifier:(id)a0; - (void)startPictureInPictureForApplicationEnteringBackground:(id)a0 animated:(BOOL)a1 completionHandler:(id /* block */)a2; - (void)startPictureInPictureForApplicationEnteringBackground:(id)a0 sceneSessionPersistentIdentifier:(id)a1 animated:(BOOL)a2 completionHandler:(id /* block */)a3; - (void)startPictureInPictureResourcesUsageReductionForApplication:(id)a0 requestingViewController:(id)a1; - (void)startPictureInPictureTestActionForApplicationWithBundleIdentifier:(id)a0; - (void)stopPictureInPictureForApplication:(id)a0 animated:(BOOL)a1 completionHandler:(id /* block */)a2; - (void)stopPictureInPictureForApplication:(id)a0 sceneSessionPersistentIdentifier:(id)a1 animated:(BOOL)a2 completionHandler:(id /* block */)a3; - (void)stopPictureInPictureResourcesUsageReductionForApplication:(id)a0 requestingViewController:(id)a1; - (id)suspendedPictureInPictureApplication; - (long long)tetheringModeForSceneSessionPersistentIdentifier:(id)a0; @end