MPMusicPlayerApplicationController.Perform 方法

定义

执行请求的队列转换,并在操作完成时运行处理程序。

[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

参数

queueTransaction
Action<MPMusicPlayerControllerMutableQueue>

创建队列时要执行的操作。

completionHandler
Action<MPMusicPlayerControllerQueue,NSError>

操作完成时要运行的处理程序。

属性

适用于