Partager via


MPPlayableContentDelegate.InitializePlaybackQueue Méthode

Définition

Surcharges

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

Les développeurs ne doivent pas utiliser cette méthode déconseillée. Les développeurs doivent utiliser « InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>) » à la place.

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

InitializePlaybackQueue(MPPlayableContentManager, Action<NSError>)

Les développeurs ne doivent pas utiliser cette méthode déconseillée. Les développeurs doivent utiliser « InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>) » à la place.

[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

Paramètres

contentManager
MPPlayableContentManager
completionHandler
Action<NSError>
Attributs

S’applique à

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

Paramètres

contentManager
MPPlayableContentManager
contentItems
MPContentItem[]

À ajouter.

Ce paramètre peut être null.

completionHandler
Action<NSError>
Attributs

S’applique à