The music player playback state modes.
SDKs
- iOS 3.0+
- Mac Catalyst 13.0+
Framework
- Media Player
Declaration
enum MPMusicPlaybackState : Int
Overview
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.