Edit

Share via


IMPSystemMusicPlayerController Interface

Definition

Protocol for playing videos with the Music app.

[Foundation.Protocol(Name="MPSystemMusicPlayerController", WrapperType=typeof(MediaPlayer.MPSystemMusicPlayerControllerWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMPSystemMusicPlayerController : IDisposable, ObjCRuntime.INativeObject
type IMPSystemMusicPlayerController = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

OpenToPlay(MPMusicPlayerQueueDescriptor)

Opens the Music app and plays the specified items.

Applies to