共用方式為


MPPlayableContentDelegate.InitiatePlaybackOfContentItem 方法

定義

呼叫以要求專案播放的方法。

[Foundation.Export("playableContentManager:initiatePlaybackOfContentItemAtIndexPath:completionHandler:")]
public virtual void InitiatePlaybackOfContentItem (MediaPlayer.MPPlayableContentManager contentManager, Foundation.NSIndexPath indexPath, Action<Foundation.NSError> completionHandler);
abstract member InitiatePlaybackOfContentItem : MediaPlayer.MPPlayableContentManager * Foundation.NSIndexPath * Action<Foundation.NSError> -> unit
override this.InitiatePlaybackOfContentItem : MediaPlayer.MPPlayableContentManager * Foundation.NSIndexPath * Action<Foundation.NSError> -> unit

參數

contentManager
MPPlayableContentManager
indexPath
NSIndexPath
completionHandler
Action<NSError>
屬性

適用於