Edit

Share via


MPMusicPlayerApplicationController.Perform Method

Definition

Performs the requested queue transformation and runs a handler when the operation is complete.

[Foundation.Export("performQueueTransaction:completionHandler:")]
public virtual void Perform (Action<MediaPlayer.MPMusicPlayerControllerMutableQueue> queueTransaction, Action<MediaPlayer.MPMusicPlayerControllerQueue,Foundation.NSError> completionHandler);
abstract member Perform : Action<MediaPlayer.MPMusicPlayerControllerMutableQueue> * Action<MediaPlayer.MPMusicPlayerControllerQueue, Foundation.NSError> -> unit
override this.Perform : Action<MediaPlayer.MPMusicPlayerControllerMutableQueue> * Action<MediaPlayer.MPMusicPlayerControllerQueue, Foundation.NSError> -> unit

Parameters

queueTransaction
Action<MPMusicPlayerControllerMutableQueue>

The action to perform while the queue is created.

completionHandler
Action<MPMusicPlayerControllerQueue,NSError>

A handler to run when the operation completes.

Attributes

Applies to