Platforms to show: All Mac Windows Linux Cross-Platform

MPNowPlayingInfoCenterMBS class   New in 25.0

Type Topic Plugin Version macOS Windows Linux iOS Targets
class MediaPlayer MBS iOS Plugin 25.0 ✅ Yes ❌ No ❌ No ✅ Yes All
An object for setting the Now Playing information for media that your app plays.

If your app also provides Now Playing information containing information about the current track, use this object to update that information at appropriate times. This object contains a nowPlayingInfo dictionary describing the playing item.

Media Types

Constant Value Description
MediaTypeAudio 1 The now playing media item is an audio item.
MediaTypeNone 0 There is no now playing media item.
MediaTypeVideo 2 The now playing media item is a video item.

Playback states

Constant Value Description
PlaybackStateInterrupted 4 The app has been interrupted during playback.
PlaybackStatePaused 2 The app is currently paused.
PlaybackStatePlaying 1 The app is currently playing a media item.
PlaybackStateStopped 3 The app has stopped playing.
PlaybackStateUnknown 0 The current state of the app is unknown.

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS iOS Plugin.


MPMediaItemArtworkMBS   -   MutexMBS


The biggest plugin in space...