Edit

Share via


AVPlayerViewControllerDelegate_Extensions.ShouldAutomaticallyDismissAtPictureInPictureStart 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.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldAutomaticallyDismissAtPictureInPictureStart (this AVKit.IAVPlayerViewControllerDelegate This, AVKit.AVPlayerViewController playerViewController);
static member ShouldAutomaticallyDismissAtPictureInPictureStart : AVKit.IAVPlayerViewControllerDelegate * AVKit.AVPlayerViewController -> bool

Parameters

This
IAVPlayerViewControllerDelegate

The instance on which this extension method operates.

playerViewController
AVPlayerViewController

Returns

Attributes

Applies to