MPMusicPlayerController.SetQueue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetQueue(String[]) |
Assigns the player queue to |
SetQueue(MPMusicPlayerQueueDescriptor) | |
SetQueue(MPMediaQuery) | |
SetQueue(MPMediaItemCollection) |
Sets the queue to the provided |
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
- descriptor
- MPMusicPlayerQueueDescriptor
- 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
- collection
- MPMediaItemCollection
- Attributes