Platforms to show: All Mac Windows Linux Cross-Platform

MPNowPlayingInfoCenterMBS class

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.

Your application may need com.apple.mediaremote.set-playback-state entitlement to use the nowPlayingInfo property.

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.

Blog Entries

Release notes

Some examples using this class:

Some related classes:


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


MPMediaItemArtworkMBS   -   MutexMBS


The biggest plugin in space...