Compartir a través de


MPPlayableContentDelegate.InitializePlaybackQueue Método

Definición

Sobrecargas

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

Los desarrolladores no deben usar este método en desuso. Los desarrolladores deben usar "InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)" en su lugar.

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

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

Los desarrolladores no deben usar este método en desuso. Los desarrolladores deben usar "InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)" en su lugar.

[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

Parámetros

contentManager
MPPlayableContentManager
completionHandler
Action<NSError>
Atributos

Se aplica a

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

Parámetros

contentManager
MPPlayableContentManager
contentItems
MPContentItem[]

Se agregará.

Este parámetro puede ser null.

completionHandler
Action<NSError>
Atributos

Se aplica a