<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaPlayer",
  "identifier" : "/documentation/MediaPlayer/MPMusicPlaybackState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Media Player"
    ],
    "preciseIdentifier" : "c:@E@MPMusicPlaybackState"
  },
  "title" : "MPMusicPlaybackState"
}
-->

# MPMusicPlaybackState

The music player playback state modes.

```
enum MPMusicPlaybackState
```

## Overview

You determine a music player’s state by checking the [`playbackState`](/documentation/MediaPlayer/MPMusicPlayerController/playbackState) property. Depending on the property’s value, you can update your application’s user interface or take other appropriate action.

## Topics

### Constants

[`MPMusicPlaybackState.stopped`](/documentation/MediaPlayer/MPMusicPlaybackState/stopped)

The music player is stopped.

[`MPMusicPlaybackState.playing`](/documentation/MediaPlayer/MPMusicPlaybackState/playing)

The music player is playing.

[`MPMusicPlaybackState.paused`](/documentation/MediaPlayer/MPMusicPlaybackState/paused)

The music player is paused.

[`MPMusicPlaybackState.interrupted`](/documentation/MediaPlayer/MPMusicPlaybackState/interrupted)

The music player has been interrupted, such as by an incoming phone call.

[`MPMusicPlaybackState.seekingForward`](/documentation/MediaPlayer/MPMusicPlaybackState/seekingForward)

The music player is seeking forward.

[`MPMusicPlaybackState.seekingBackward`](/documentation/MediaPlayer/MPMusicPlaybackState/seekingBackward)

The music player is seeking backward.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)