Upravit

Sdílet prostřednictvím


AVPlayer.FromUrl(NSUrl) Method

Definition

A factory method to create an AVPlayer for the media asset located at the specified URL.

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

Parameters

URL
NSUrl

A URL containing a playable media asset.

Returns

Attributes

Applies to