Freigeben über


MPPlayableContentDelegate.InitializePlaybackQueue Methode

Definition

Überlädt

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

Entwickler sollten diese veraltete Methode nicht verwenden. Entwickler sollten stattdessen "InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)" verwenden.

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

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

Entwickler sollten diese veraltete Methode nicht verwenden. Entwickler sollten stattdessen "InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)" verwenden.

[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

Parameter

contentManager
MPPlayableContentManager
completionHandler
Action<NSError>
Attribute

Gilt für:

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

Parameter

contentManager
MPPlayableContentManager
contentItems
MPContentItem[]

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

completionHandler
Action<NSError>
Attribute

Gilt für: