MPMusicPlayerApplicationController.PerformAsync 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.
Performs the requested queue transformation and runs a handler when the operation is complete.
public virtual System.Threading.Tasks.Task<MediaPlayer.MPMusicPlayerControllerQueue> PerformAsync (Action<MediaPlayer.MPMusicPlayerControllerMutableQueue> queueTransaction);
abstract member PerformAsync : Action<MediaPlayer.MPMusicPlayerControllerMutableQueue> -> System.Threading.Tasks.Task<MediaPlayer.MPMusicPlayerControllerQueue>
override this.PerformAsync : Action<MediaPlayer.MPMusicPlayerControllerMutableQueue> -> System.Threading.Tasks.Task<MediaPlayer.MPMusicPlayerControllerQueue>
Parameters
- queueTransaction
- Action<MPMusicPlayerControllerMutableQueue>
The action to perform while the queue is created.
Returns
A task that represents the asynchronous Perform operation. The value of the TResult parameter is of type System.Action<MediaPlayer.MPMusicPlayerControllerQueue,Foundation.NSError>.
Remarks
The PerformAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.