---
title: AVQueuePlayer
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avqueueplayer
---

# AVQueuePlayer

An object that plays a sequence of player items.

## Declaration

```swift
class AVQueuePlayer
```

## Mentioned in

Implementing simple enhanced buffering for your content Observing playback state in SwiftUI Supporting AirPlay in your app

## Overview

Overview Use an instance of this class to manage a queue of player items.

## Topics

### Creating a queue player

- [init(items:)](avfoundation/avqueueplayer/init(items:).md)

### Managing the player queue

- [items()](avfoundation/avqueueplayer/items().md)
- [advanceToNextItem()](avfoundation/avqueueplayer/advancetonextitem().md)
- [canInsert(_:after:)](avfoundation/avqueueplayer/caninsert(_:after:).md)
- [insert(_:after:)](avfoundation/avqueueplayer/insert(_:after:).md)
- [remove(_:)](avfoundation/avqueueplayer/remove(_:).md)
- [removeAllItems()](avfoundation/avqueueplayer/removeallitems().md)

## Relationships

### Inherits From

- [AVPlayer](avfoundation/avplayer.md)

### Conforms To

- [AVRoutingPlaybackParticipant](avrouting/avroutingplaybackparticipant.md)
- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Observable](observation/observable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Playback control

- [Observing playback state in SwiftUI](avfoundation/observing-playback-state-in-swiftui.md)
- [Controlling the transport behavior of a player](avfoundation/controlling-the-transport-behavior-of-a-player.md)
- [Creating a seamless multiview playback experience](avfoundation/creating-a-seamless-multiview-playback-experience.md)
- [AVPlayer](avfoundation/avplayer.md)
- [AVPlayerItem](avfoundation/avplayeritem.md)
- [AVPlayerItemTrack](avfoundation/avplayeritemtrack.md)
- [AVPlayerLooper](avfoundation/avplayerlooper.md)
