Bewerken

Delen via


AVPlayer.FromPlayerItem(AVPlayerItem) Method

Definition

A factory method to create an AVPlayer for the specified item.

[Foundation.Export("playerWithPlayerItem:")]
public static AVFoundation.AVPlayer FromPlayerItem (AVFoundation.AVPlayerItem item);
static member FromPlayerItem : AVFoundation.AVPlayerItem -> AVFoundation.AVPlayer

Parameters

item
AVPlayerItem

The AVPlayerItem that will become the CurrentItem.

This parameter can be null.

Returns

Attributes

Applies to