AVPlayerViewControllerDelegate.RestoreUserInterfaceForPictureInPicture 方法

定义

图片中图片播放即将停止。 调用 以让应用有机会通过传递给 truecompletionHandler来提供播放用户界面。

[Foundation.Export("playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RestoreUserInterfaceForPictureInPicture (AVKit.AVPlayerViewController playerViewController, Action<bool> completionHandler);
abstract member RestoreUserInterfaceForPictureInPicture : AVKit.AVPlayerViewController * Action<bool> -> unit
override this.RestoreUserInterfaceForPictureInPicture : AVKit.AVPlayerViewController * Action<bool> -> unit

参数

playerViewController
AVPlayerViewController
completionHandler
Action<Boolean>
属性

适用于