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