<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/MediaCommand/RepeatMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Now Playing"
    ],
    "preciseIdentifier" : "s:10NowPlaying12MediaCommandV10RepeatModeO"
  },
  "title" : "MediaCommand.RepeatMode"
}
-->

# MediaCommand.RepeatMode

The repeat mode for media playback.

```
enum RepeatMode
```

## Overview

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

## Topics

### Enumeration Cases

[`case all`](/documentation/NowPlaying/MediaCommand/RepeatMode/all)

The player repeats the current container or playlist indefinitely.

[`case off`](/documentation/NowPlaying/MediaCommand/RepeatMode/off)

The player does not repeat content during playback.

[`case one`](/documentation/NowPlaying/MediaCommand/RepeatMode/one)

The player repeats a single item indefinitely.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`CaseIterable`](/documentation/Swift/CaseIterable)

---

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)