MPMusicPlayerApplicationController.Perform Méthode

Définition

Effectue la transformation de file d’attente demandée et exécute un gestionnaire une fois l’opération terminée.

[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

Paramètres

queueTransaction
Action<MPMusicPlayerControllerMutableQueue>

Action à effectuer lors de la création de la file d’attente.

completionHandler
Action<MPMusicPlayerControllerQueue,NSError>

Gestionnaire à exécuter une fois l’opération terminée.

Attributs

S’applique à