編輯

共用方式為


MPMediaPlaylist.AddMediaItemsAsync(MPMediaItem[]) Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task AddMediaItemsAsync (MediaPlayer.MPMediaItem[] mediaItems);
abstract member AddMediaItemsAsync : MediaPlayer.MPMediaItem[] -> System.Threading.Tasks.Task
override this.AddMediaItemsAsync : MediaPlayer.MPMediaItem[] -> System.Threading.Tasks.Task

Parameters

mediaItems
MPMediaItem[]

Returns

A task that represents the asynchronous AddMediaItems operation

Attributes

Remarks

The AddMediaItemsAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to