Contents

playbackState

The current playback state of the app.

Declaration

var playbackState: MPNowPlayingPlaybackState { get set }

Discussion

This property only applies to macOS. You must set this property every time the app begins or halts playback, otherwise remote control functionality may not work as expected.

See Also

Setting the playback state in macOS