Edytuj

Udostępnij za pośrednictwem


MPMusicPlayerController.PrepareToPlayAsync Method

Definition

Puts the first item in the queue into the buffer and runs a handler after the item has been buffered.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 1, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task PrepareToPlayAsync ();
abstract member PrepareToPlayAsync : unit -> System.Threading.Tasks.Task
override this.PrepareToPlayAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous PrepareToPlay operation

Attributes

Remarks

The PrepareToPlayAsync 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