The music player playback state modes.
- iOS 3.0+
- Mac Catalyst 13.0+
You determine a music player’s state by checking the
playbackState property. Depending on the property’s value, you can update your application’s user interface or take other appropriate action.
Managing Playback Mode and State
The currently-playing media item, or the media item, within a queue, that you have designated to begin playback with.
The current repeat mode of the music player.
The current shuffle mode of the music player.
The audio playback volume for the music player, in the range from
0.0 (silent) through
1.0 (maximum volume).