---
title: MediaCommand.ShuffleMode
framework: nowplaying
role: symbol
role_heading: Enumeration
path: nowplaying/mediacommand/shufflemode
---

# MediaCommand.ShuffleMode

The shuffle mode for media playback.

## Declaration

```swift
enum ShuffleMode
```

## Overview

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

## Topics

### Enumeration Cases

- [MediaCommand.ShuffleMode.collections](nowplaying/mediacommand/shufflemode/collections.md)
- [MediaCommand.ShuffleMode.items](nowplaying/mediacommand/shufflemode/items.md)
- [MediaCommand.ShuffleMode.off](nowplaying/mediacommand/shufflemode/off.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.RepeatMode](nowplaying/mediacommand/repeatmode.md)
