AVPlayerViewControllerDelegate
A protocol that defines the methods to implement to respond to player view controller events.
Declaration
protocol AVPlayerViewControllerDelegate : NSObjectProtocolMentioned in
Topics
Dismissing the Player View Controller
playerViewControllerShouldDismiss(_:)playerViewControllerWillBeginDismissalTransition(_:)playerViewControllerDidEndDismissalTransition(_:)
Responding to Picture in Picture Life Cycle Events
playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart(_:)playerViewControllerWillStartPictureInPicture(_:)playerViewControllerDidStartPictureInPicture(_:)playerViewController(_:failedToStartPictureInPictureWithError:)playerViewControllerWillStopPictureInPicture(_:)playerViewControllerDidStopPictureInPicture(_:)playerViewController(_:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:)
Responding to Navigation Events
playerViewController(_:timeToSeekAfterUserNavigatedFrom:to:)playerViewController(_:willResumePlaybackAfterUserNavigatedFrom:to:)skipToPreviousItem(for:)skipToNextItem(for:)
Responding to Interstitial Content Playback Events
Responding to Content Proposals
playerViewController(_:shouldPresent:)playerViewController(_:didAccept:)playerViewController(_:didReject:)
Responding to Media Selection
Responding to Transport Bar Changes
playerViewController(_:willTransitionToVisibilityOfTransportBar:with:)AVPlayerViewControllerAnimationCoordinator
Responding to Channel Changes
playerViewController(_:skipToNextChannel:)playerViewController(_:skipToPreviousChannel:)nextChannelInterstitialViewController(for:)previousChannelInterstitialViewController(for:)