Linguaggio

IAVPlayerViewPictureInPictureDelegate Interface

Definition

This interface represents the Objective-C protocol AVPlayerViewPictureInPictureDelegate.

[Foundation.Protocol(Name="AVPlayerViewPictureInPictureDelegate", WrapperType=typeof(AVKit.AVPlayerViewPictureInPictureDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, Selector="playerViewWillStartPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, Selector="playerViewDidStartPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToStart", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView), typeof(Foundation.NSError) }, Selector="playerView:failedToStartPictureInPictureWithError:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, Selector="playerViewWillStopPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, Selector="playerViewDidStopPictureInPicture:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RestoreUserInterface", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V2) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView), typeof(System.Action<System.Boolean>) }, Selector="playerView:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldAutomaticallyDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, ReturnType=typeof(System.Boolean), Selector="playerViewShouldAutomaticallyDismissAtPictureInPictureStart:")]
public interface IAVPlayerViewPictureInPictureDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="AVPlayerViewPictureInPictureDelegate", WrapperType=typeof(AVKit.AVPlayerViewPictureInPictureDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, Selector="playerViewWillStartPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStart", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, Selector="playerViewDidStartPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="FailedToStart", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView), typeof(Foundation.NSError) }, Selector="playerView:failedToStartPictureInPictureWithError:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, Selector="playerViewWillStopPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStop", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, Selector="playerViewDidStopPictureInPicture:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="RestoreUserInterface", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V2) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView), typeof(System.Action<System.Boolean>) }, Selector="playerView:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldAutomaticallyDismiss", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AVKit.AVPlayerView) }, ReturnType=typeof(System.Boolean), Selector="playerViewShouldAutomaticallyDismissAtPictureInPictureStart:")>]
type IAVPlayerViewPictureInPictureDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Applies to