AVPlayerViewControllerDelegate.ShouldAutomaticallyDismissAtPictureInPictureStart(AVPlayerViewController) Method

Definition

App developers should return true to indicate that the player viewer should dismiss when Picture In Picture playback starts, or false to prevent this.

[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

Parameters

playerViewController
AVPlayerViewController

Returns

Attributes

Applies to