---
title: changeRepeatModeCommand
framework: mediaplayer
role: symbol
role_heading: Instance Property
path: mediaplayer/mpremotecommandcenter/changerepeatmodecommand
---

# changeRepeatModeCommand

The command object for changing the repeat mode.

## Declaration

```swift
var changeRepeatModeCommand: MPChangeRepeatModeCommand { get }
```

## Discussion

Discussion Use the object in this property to register your app’s handler for changing the repeat mode for the playlist. In your handler, change the repeat mode to the new value. You can disable the command if your app does not support it.

## See Also

### Navigating between tracks

- [nextTrackCommand](mediaplayer/mpremotecommandcenter/nexttrackcommand.md)
- [previousTrackCommand](mediaplayer/mpremotecommandcenter/previoustrackcommand.md)
- [changeShuffleModeCommand](mediaplayer/mpremotecommandcenter/changeshufflemodecommand.md)
