---
title: pauseCommand
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpremotecommandcenter/pausecommand
---

# pauseCommand

The command object for pausing playback of the current item.

## Declaration

```swift
var pauseCommand: MPRemoteCommand { get }
```

## Discussion

Discussion Use the object in this property to register your app’s handler for pausing the currently playing track. In your handler, pause playback of the current item but maintain the current play position. You can disable the command if your app does not support it.

## See Also

### Playback commands

- [playCommand](mediaplayer/mpremotecommandcenter/playcommand.md)
- [stopCommand](mediaplayer/mpremotecommandcenter/stopcommand.md)
- [togglePlayPauseCommand](mediaplayer/mpremotecommandcenter/toggleplaypausecommand.md)
