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>
属性

适用于