net10.0-tvos17.2
namespace AVKit
{
    [Protocol(Name = "AVPlayerViewControllerDelegate", WrapperType = typeof(AVPlayerViewControllerDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillStartPictureInPicture", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, Selector = "playerViewControllerWillStartPictureInPicture:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidStartPictureInPicture", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, Selector = "playerViewControllerDidStartPictureInPicture:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "FailedToStartPictureInPicture", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(NSError) }, Selector = "playerViewController:failedToStartPictureInPictureWithError:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillStopPictureInPicture", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, Selector = "playerViewControllerWillStopPictureInPicture:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidStopPictureInPicture", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, Selector = "playerViewControllerDidStopPictureInPicture:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidPresentInterstitialTimeRange", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(AVInterstitialTimeRange) }, Selector = "playerViewController:didPresentInterstitialTimeRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillBeginDismissalTransition", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, Selector = "playerViewControllerWillBeginDismissalTransition:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidEndDismissalTransition", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, Selector = "playerViewControllerDidEndDismissalTransition:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillPresentInterstitialTimeRange", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(AVInterstitialTimeRange) }, Selector = "playerViewController:willPresentInterstitialTimeRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillResumePlaybackAfterUserNavigatedFromTime", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(CMTime), typeof(CMTime) }, Selector = "playerViewController:willResumePlaybackAfterUserNavigatedFromTime:toTime:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSelectMediaSelectionOption", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(AVMediaSelectionOption), typeof(AVMediaSelectionGroup) }, Selector = "playerViewController:didSelectMediaSelectionOption:inMediaSelectionGroup:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSelectExternalSubtitleOptionLanguage", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(string) }, Selector = "playerViewController:didSelectExternalSubtitleOptionLanguage:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SkipToNextItem", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, Selector = "skipToNextItemForPlayerViewController:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SkipToPreviousItem", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, Selector = "skipToPreviousItemForPlayerViewController:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidAcceptContentProposal", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(AVContentProposal) }, Selector = "playerViewController:didAcceptContentProposal:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidRejectContentProposal", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(AVContentProposal) }, Selector = "playerViewController:didRejectContentProposal:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillTransitionToVisibilityOfTransportBar", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(bool), typeof(IAVPlayerViewControllerAnimationCoordinator) }, Selector = "playerViewController:willTransitionToVisibilityOfTransportBar:withAnimationCoordinator:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldAutomaticallyDismissAtPictureInPictureStart", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, ReturnType = typeof(bool), Selector = "playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "RestoreUserInterfaceForPictureInPicture", ParameterBlockProxy = new[] { null, typeof(NIDActionArity1V0) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(Action<bool>) }, Selector = "playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldDismiss", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, ReturnType = typeof(bool), Selector = "playerViewControllerShouldDismiss:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetTimeToSeekAfterUserNavigated", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(CMTime), typeof(CMTime) }, ReturnType = typeof(CMTime), Selector = "playerViewController:timeToSeekAfterUserNavigatedFromTime:toTime:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldPresentContentProposal", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(AVContentProposal) }, ReturnType = typeof(bool), Selector = "playerViewController:shouldPresentContentProposal:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetNextChannelInterstitialViewController", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, ReturnType = typeof(UIViewController), Selector = "nextChannelInterstitialViewControllerForPlayerViewController:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SkipToNextChannel", ParameterBlockProxy = new[] { null, typeof(NIDActionArity1V0) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(Action<bool>) }, Selector = "playerViewController:skipToNextChannel:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SkipToPreviousChannel", ParameterBlockProxy = new[] { null, typeof(NIDActionArity1V0) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(AVPlayerViewController), typeof(Action<bool>) }, Selector = "playerViewController:skipToPreviousChannel:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPreviousChannelInterstitialViewController", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(AVPlayerViewController) }, ReturnType = typeof(UIViewController), Selector = "previousChannelInterstitialViewControllerForPlayerViewController:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("macos")]
    public interface IAVPlayerViewControllerDelegate : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("playerViewController:willResumePlaybackAfterUserNavigatedFromTime:toTime:")]
        [OptionalMember]
        [SupportedOSPlatform("tvos")]
        [UnsupportedOSPlatform("ios")]
        [UnsupportedOSPlatform("macos")]
        [UnsupportedOSPlatform("maccatalyst")]
        virtual void WillResumePlaybackAfterUserNavigatedFromTime(AVPlayerViewController! playerViewController, CMTime oldTime, CMTime targetTime);
    }
}
.NET
10.0
Information specific to net10.0
Platforms This API is only available when you target a specific platform:
tvOS
10.010.110.211.011.111.211.311.412.012.112.212.312.413.013.213.313.414.014.214.314.414.515.015.215.416.016.116.417.017.2
Information specific to net10.0-tvos17.2
Assembly

Microsoft.tvOS , Version=18.5.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Preview The API is contained in a preview framework.
Platform Restrictions

This API is only supported on the following platforms:

  • iOS
  • Mac Catalyst
  • macOS
  • tvOS
  • Built-in API
  • Package-provided API