The music player playback state modes.
- iOS 3.0+
- Mac Catalyst 13.0+
- Media Player
You determine a music player’s state by checking the
playback property. Depending on the property’s value, you can update your application’s user interface or take other appropriate action.