AVPlayerViewControllerDelegate.ShouldAutomaticallyDismissAtPictureInPictureStart 方法

定义

应用开发人员应返回 true ,以指示播放器查看器应在图片中播放开始时关闭,或 false 阻止这种情况。

[Foundation.Export("playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldAutomaticallyDismissAtPictureInPictureStart (AVKit.AVPlayerViewController playerViewController);
abstract member ShouldAutomaticallyDismissAtPictureInPictureStart : AVKit.AVPlayerViewController -> bool
override this.ShouldAutomaticallyDismissAtPictureInPictureStart : AVKit.AVPlayerViewController -> bool

参数

playerViewController
AVPlayerViewController

返回

属性

适用于