AVPlayer.FromUrl(NSUrl) 方法

定义

一种工厂方法,用于为位于指定 URL处的媒体资产创建 AVPlayer

[Foundation.Export("playerWithURL:")]
public static AVFoundation.AVPlayer FromUrl (Foundation.NSUrl URL);
static member FromUrl : Foundation.NSUrl -> AVFoundation.AVPlayer

参数

URL
NSUrl

包含可播放媒体资产的 URL。

返回

属性

适用于