---
title: MediaCommand.RepeatMode
framework: nowplaying
role: symbol
role_heading: Enumeration
path: nowplaying/mediacommand/repeatmode
---

# MediaCommand.RepeatMode

The repeat mode for media playback.

## Declaration

```swift
enum RepeatMode
```

## Overview

Overview Use this enumeration to specify how the player repeats content during playback.

## Topics

### Enumeration Cases

- [MediaCommand.RepeatMode.all](nowplaying/mediacommand/repeatmode/all.md)
- [MediaCommand.RepeatMode.off](nowplaying/mediacommand/repeatmode/off.md)
- [MediaCommand.RepeatMode.one](nowplaying/mediacommand/repeatmode/one.md)

## Relationships

### Conforms To

- [CaseIterable](swift/caseiterable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Changing playback modes

- [changePlaybackRate(supported:_:)](nowplaying/mediacommand/changeplaybackrate(supported:_:).md)
- [changeRepeatMode(current:supported:_:)](nowplaying/mediacommand/changerepeatmode(current:supported:_:).md)
- [changeShuffleMode(current:supported:_:)](nowplaying/mediacommand/changeshufflemode(current:supported:_:).md)
- [MediaCommand.ShuffleMode](nowplaying/mediacommand/shufflemode.md)
