IAVPictureInPictureControllerDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
| WillStartPictureInPicture(AVPictureInPictureController) |
Picture In Picture playback is about to start. |
| WillStopPictureInPicture(AVPictureInPictureController) |
Picture In Picture playback is about to stop. |