共用方式為


AVPlayerLayer.FromPlayer(AVPlayer) 方法

定義

靜態處理站方法,為指定的 player 建立 AVPlayerLayer

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

參數

player
AVPlayer

即將加入。

這個參數可以是 null

傳回

屬性

適用於