編輯

共用方式為


MPPlayableContentDelegate_Extensions.InitializePlaybackQueue Method

Definition

Overloads

InitializePlaybackQueue(IMPPlayableContentDelegate, MPPlayableContentManager, Action<NSError>)

Developers should not use this deprecated method. Developers should use 'InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)' instead.

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

InitializePlaybackQueue(IMPPlayableContentDelegate, MPPlayableContentManager, Action<NSError>)

Developers should not use this deprecated method. Developers should use 'InitializePlaybackQueue (MPPlayableContentManager, MPContentItem[], Action<NSError>)' instead.

[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 static void InitializePlaybackQueue (this MediaPlayer.IMPPlayableContentDelegate This, MediaPlayer.MPPlayableContentManager contentManager, Action<Foundation.NSError> completionHandler);
static member InitializePlaybackQueue : MediaPlayer.IMPPlayableContentDelegate * MediaPlayer.MPPlayableContentManager * Action<Foundation.NSError> -> unit

Parameters

This
IMPPlayableContentDelegate

The instance on which this extension method operates.

contentManager
MPPlayableContentManager
completionHandler
Action<NSError>
Attributes

Applies to

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

[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 static void InitializePlaybackQueue (this MediaPlayer.IMPPlayableContentDelegate This, MediaPlayer.MPPlayableContentManager contentManager, MediaPlayer.MPContentItem[] contentItems, Action<Foundation.NSError> completionHandler);
static member InitializePlaybackQueue : MediaPlayer.IMPPlayableContentDelegate * MediaPlayer.MPPlayableContentManager * MediaPlayer.MPContentItem[] * Action<Foundation.NSError> -> unit

Parameters

This
IMPPlayableContentDelegate

The instance on which this extension method operates.

contentManager
MPPlayableContentManager
contentItems
MPContentItem[]

To be added.

This parameter can be null.

completionHandler
Action<NSError>
Attributes

Applies to