One Logo Pool Ball
MediaPlayer · IOS API REFERENCE

MPNowPlayingInfoCenter

class · iOS 5.0+ · SDK 27.1

class MPNowPlayingInfoCenter

Members (6)

static · iOS 5.0+

default

TypeScript
static default(): MPNowPlayingInfoCenter
Swift declaration
class func `default`() -> MPNowPlayingInfoCenter
get · iOS 26.0+

supportedAnimatedArtworkKeys

TypeScript
static get supportedAnimatedArtworkKeys(): Array<string>
Swift declaration
class var supportedAnimatedArtworkKeys: [String] { get }
get · iOS 5.0+

nowPlayingInfo

TypeScript
get nowPlayingInfo(): (Record<string, unknown>) | null
Swift declaration
var nowPlayingInfo: [String : Any]? { get set }
set · iOS 5.0+

nowPlayingInfo

TypeScript
set nowPlayingInfo(value: (Record<string, unknown>) | null)
Swift declaration
var nowPlayingInfo: [String : Any]? { get set }
get · iOS 13.0+

playbackState

TypeScript
get playbackState(): MPNowPlayingPlaybackState
Swift declaration
var playbackState: MPNowPlayingPlaybackState { get set }
set · iOS 13.0+

playbackState

TypeScript
set playbackState(value: MPNowPlayingPlaybackState)
Swift declaration
var playbackState: MPNowPlayingPlaybackState { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPNowPlayingInfoCenter.init()

inherited init: clang: 'init' is unavailable

All MediaPlayer types →