MPMusicPlayerController.PrepareToPlayAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.