Share via


IAVPictureInPictureControllerDelegate Interface

Definition

Delegate object providing methods for the application's AVPictureInPictureController at the start and stop of picture-in-picture video playback.

[Foundation.Protocol(Name="AVPictureInPictureControllerDelegate", WrapperType=typeof(AVKit.AVPictureInPictureControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStartPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStartPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToStartPictureInPicture", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(Foundation.NSError) }, Selector="pictureInPictureController:failedToStartPictureInPictureWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStopPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStopPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RestoreUserInterfaceForPictureInPicture", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V4) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(System.Action<System.Boolean>) }, Selector="pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
public interface IAVPictureInPictureControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="AVPictureInPictureControllerDelegate", WrapperType=typeof(AVKit.AVPictureInPictureControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStartPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStartPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToStartPictureInPicture", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(Foundation.NSError) }, Selector="pictureInPictureController:failedToStartPictureInPictureWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStopPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStopPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RestoreUserInterfaceForPictureInPicture", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V2) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(System.Action<System.Boolean>) }, Selector="pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
public interface IAVPictureInPictureControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="AVPictureInPictureControllerDelegate", WrapperType=typeof(AVKit.AVPictureInPictureControllerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStartPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStartPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToStartPictureInPicture", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(Foundation.NSError) }, Selector="pictureInPictureController:failedToStartPictureInPictureWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStopPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStopPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RestoreUserInterfaceForPictureInPicture", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V0) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(System.Action<System.Boolean>) }, Selector="pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
public interface IAVPictureInPictureControllerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="AVPictureInPictureControllerDelegate", WrapperType=typeof(AVKit.AVPictureInPictureControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStartPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStartPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToStartPictureInPicture", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(Foundation.NSError) }, Selector="pictureInPictureController:failedToStartPictureInPictureWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStopPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStopPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RestoreUserInterfaceForPictureInPicture", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V4) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(System.Action<System.Boolean>) }, Selector="pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")>]
type IAVPictureInPictureControllerDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="AVPictureInPictureControllerDelegate", WrapperType=typeof(AVKit.AVPictureInPictureControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStartPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStartPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToStartPictureInPicture", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(Foundation.NSError) }, Selector="pictureInPictureController:failedToStartPictureInPictureWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStopPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStopPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RestoreUserInterfaceForPictureInPicture", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V2) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(System.Action<System.Boolean>) }, Selector="pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")>]
type IAVPictureInPictureControllerDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="AVPictureInPictureControllerDelegate", WrapperType=typeof(AVKit.AVPictureInPictureControllerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStartPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStartPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStartPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToStartPictureInPicture", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(Foundation.NSError) }, Selector="pictureInPictureController:failedToStartPictureInPictureWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerWillStopPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStopPictureInPicture", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController) }, Selector="pictureInPictureControllerDidStopPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RestoreUserInterfaceForPictureInPicture", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V0) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPictureInPictureController), typeof(System.Action<System.Boolean>) }, Selector="pictureInPictureController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")>]
type IAVPictureInPictureControllerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidStartPictureInPicture(AVPictureInPictureController)

Picture In Picture playback has started.

DidStopPictureInPicture(AVPictureInPictureController)

Picture In Picture playback has stopped.

FailedToStartPictureInPicture(AVPictureInPictureController, NSError)

Picture In Picture playback failed to start.

RestoreUserInterfaceForPictureInPicture(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(AVPictureInPictureController)

Picture In Picture playback is about to start.

WillStopPictureInPicture(AVPictureInPictureController)

Picture In Picture playback is about to stop.

Extension Methods

Name Description
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.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also