共用方式為


MPPlayableContentDelegate.InitializePlaybackQueue 方法

定義

多載

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

開發人員不應該使用此已被取代的方法。 開發人員應該改用 'InitializePlaybackQueue (MPPlayableContentManager、MPContentItem[]、Action < NSError >) '。

InitializePlaybackQueue(MPPlayableContentManager, MPContentItem[], Action<NSError>)

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

開發人員不應該使用此已被取代的方法。 開發人員應該改用 'InitializePlaybackQueue (MPPlayableContentManager、MPContentItem[]、Action < NSError >) '。

[Foundation.Export("playableContentManager:initializePlaybackQueueWithCompletionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.None, "Use 'InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void InitializePlaybackQueue (MediaPlayer.MPPlayableContentManager contentManager, Action<Foundation.NSError> completionHandler);
abstract member InitializePlaybackQueue : MediaPlayer.MPPlayableContentManager * Action<Foundation.NSError> -> unit
override this.InitializePlaybackQueue : MediaPlayer.MPPlayableContentManager * Action<Foundation.NSError> -> unit

參數

contentManager
MPPlayableContentManager
completionHandler
Action<NSError>
屬性

適用於

InitializePlaybackQueue(MPPlayableContentManager, MPContentItem[], Action<NSError>)

[Foundation.Export("playableContentManager:initializePlaybackQueueWithContentItems:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, "Use the Intents framework API instead.")]
public virtual void InitializePlaybackQueue (MediaPlayer.MPPlayableContentManager contentManager, MediaPlayer.MPContentItem[] contentItems, Action<Foundation.NSError> completionHandler);
abstract member InitializePlaybackQueue : MediaPlayer.MPPlayableContentManager * MediaPlayer.MPContentItem[] * Action<Foundation.NSError> -> unit
override this.InitializePlaybackQueue : MediaPlayer.MPPlayableContentManager * MediaPlayer.MPContentItem[] * Action<Foundation.NSError> -> unit

參數

contentManager
MPPlayableContentManager
contentItems
MPContentItem[]

即將加入。

這個參數可以是 null

completionHandler
Action<NSError>
屬性

適用於