Edit

Share via


IAVPictureInPictureControllerDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol AVPictureInPictureControllerDelegate.

[Foundation.Protocol(Name="AVPictureInPictureControllerDelegate", WrapperType=typeof(AVKit.AVPictureInPictureControllerDelegateWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IAVPictureInPictureControllerDelegate : IDisposable, ObjCRuntime.INativeObject
type IAVPictureInPictureControllerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by AVPictureInPictureControllerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the AVPictureInPictureControllerDelegate protocol.

Optional methods (if any) are provided by the AVPictureInPictureControllerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension 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