AVPictureInPictureControllerDelegate_Extensions Class

Definition

Extension methods to the IAVPictureInPictureControllerDelegate interface to support all the methods from the AVPictureInPictureControllerDelegate protocol.

public static class AVPictureInPictureControllerDelegate_Extensions
type AVPictureInPictureControllerDelegate_Extensions = class
Inheritance
AVPictureInPictureControllerDelegate_Extensions

Remarks

The extension methods for IAVPictureInPictureControllerDelegate allow developers to treat instances of the interface as having all the optional methods of the original AVPictureInPictureControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidStartPictureInPicture(IAVPictureInPictureControllerDelegate, AVPictureInPictureController)

Picture In Picture playback has started.

DidStopPictureInPicture(IAVPictureInPictureControllerDelegate, AVPictureInPictureController)

Picture In Picture playback has stopped.

FailedToStartPictureInPicture(IAVPictureInPictureControllerDelegate, AVPictureInPictureController, NSError)

Picture In Picture playback failed to start.

RestoreUserInterfaceForPictureInPicture(IAVPictureInPictureControllerDelegate, AVPictureInPictureController, Action<Boolean>)

Picture In Picture playback is about to stop. Called to give the app the opportunity to provide a playback user interface by passing true to completionHandler.

WillStartPictureInPicture(IAVPictureInPictureControllerDelegate, AVPictureInPictureController)

Picture In Picture playback is about to start.

WillStopPictureInPicture(IAVPictureInPictureControllerDelegate, AVPictureInPictureController)

Picture In Picture playback is about to stop.

Applies to