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 to true.

    Declaration

    Swift

    @objc
    optional func pictureInPictureDidBecomePossible()
  • Called when the value of AVPictureInPictureController.isPictureInPicturePossible changes to false.

    Declaration

    Swift

    @objc
    optional func pictureInPictureDidBecomeNotPossible()