Bewerken

Delen via


AVPlayerLayer.FromPlayer(AVPlayer) Method

Definition

Static factory method to create a AVPlayerLayer for the specified player.

[Foundation.Export("playerLayerWithPlayer:")]
public static AVFoundation.AVPlayerLayer FromPlayer (AVFoundation.AVPlayer player);
static member FromPlayer : AVFoundation.AVPlayer -> AVFoundation.AVPlayerLayer

Parameters

player
AVPlayer

To be added.

This parameter can be null.

Returns

Attributes

Applies to