Edit

Share via


IMPSystemMusicPlayerController.OpenToPlay Method

Definition

Opens the Music app and plays the specified items.

[Foundation.Export("openToPlayQueueDescriptor:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public void OpenToPlay (MediaPlayer.MPMusicPlayerQueueDescriptor queueDescriptor);
abstract member OpenToPlay : MediaPlayer.MPMusicPlayerQueueDescriptor -> unit

Parameters

queueDescriptor
MPMusicPlayerQueueDescriptor

The queue descriptor for the media items to play.

Attributes

Applies to