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

# MediaCommand.ShuffleMode.collections

The player shuffles collections during playback (for example, albums).

## Declaration

```swift
case collections
```

## Discussion

Discussion When you use this mode, the player shuffles albums or other collection types while maintaining the original order within each collection.
