AVPictureInPictureControllerDelegateExtended
@available(iOS 14.0, tvOS 14.0, *)
@objc(THEOplayerAVPictureInPictureControllerDelegateExtended)
public protocol AVPictureInPictureControllerDelegateExtended : AVPictureInPictureControllerDelegate
Extends AVPictureInPictureControllerDelegate
to provide additional methods that get called when changes occur in AVPictureInPictureController
.
-
Called when the value of
AVPictureInPictureController.isPictureInPicturePossible
changes totrue
.Declaration
Swift
@objc optional func pictureInPictureDidBecomePossible()
-
Called when the value of
AVPictureInPictureController.isPictureInPicturePossible
changes tofalse
.Declaration
Swift
@objc optional func pictureInPictureDidBecomeNotPossible()