Share via


AVPlayerViewControllerDelegate_Extensions.RestoreUserInterfaceForPictureInPicture Method

Definition

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.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void RestoreUserInterfaceForPictureInPicture(this AVKit.IAVPlayerViewControllerDelegate This, AVKit.AVPlayerViewController playerViewController, Action<bool> completionHandler);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RestoreUserInterfaceForPictureInPicture : AVKit.IAVPlayerViewControllerDelegate * AVKit.AVPlayerViewController * Action<bool> -> unit

Parameters

playerViewController
AVPlayerViewController
completionHandler
Action<Boolean>
Attributes

Applies to