IMPSystemMusicPlayerController.OpenToPlay 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.
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