Share via


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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task PrepareToPlayAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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