Editar

Compartilhar via


MPMusicPlayerController.SetQueue Method

Definition

Overloads

SetQueue(String[])

Assigns the player queue to storeIDs.

SetQueue(MPMusicPlayerQueueDescriptor)
SetQueue(MPMediaQuery)
SetQueue(MPMediaItemCollection)

Sets the queue to the provided collection.

SetQueue(String[])

Assigns the player queue to storeIDs.

[Foundation.Export("setQueueWithStoreIDs:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetQueue (string[] storeIDs);
abstract member SetQueue : string[] -> unit
override this.SetQueue : string[] -> unit

Parameters

storeIDs
String[]
Attributes

Applies to

SetQueue(MPMusicPlayerQueueDescriptor)

[Foundation.Export("setQueueWithDescriptor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 1, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetQueue (MediaPlayer.MPMusicPlayerQueueDescriptor descriptor);
abstract member SetQueue : MediaPlayer.MPMusicPlayerQueueDescriptor -> unit
override this.SetQueue : MediaPlayer.MPMusicPlayerQueueDescriptor -> unit

Parameters

Attributes

Applies to

SetQueue(MPMediaQuery)

[Foundation.Export("setQueueWithQuery:")]
public virtual void SetQueue (MediaPlayer.MPMediaQuery query);
abstract member SetQueue : MediaPlayer.MPMediaQuery -> unit
override this.SetQueue : MediaPlayer.MPMediaQuery -> unit

Parameters

query
MPMediaQuery
Attributes

Applies to

SetQueue(MPMediaItemCollection)

Sets the queue to the provided collection.

[Foundation.Export("setQueueWithItemCollection:")]
public virtual void SetQueue (MediaPlayer.MPMediaItemCollection collection);
abstract member SetQueue : MediaPlayer.MPMediaItemCollection -> unit
override this.SetQueue : MediaPlayer.MPMediaItemCollection -> unit

Parameters

Attributes

Applies to