---
title: WKAudioFileQueuePlayer
framework: watchkit
role: symbol
role_heading: Class
path: watchkit/wkaudiofilequeueplayer
---

# WKAudioFileQueuePlayer

An object that controls playback of one or more audio items.

## Declaration

```swift
class WKAudioFileQueuePlayer
```

## Overview

Overview Items are stored in a queue and played sequentially. When playback of the current item ends, playback of the next item begins automatically. Because this class is a subclass of WKAudioFilePlayer, it inherits the same playback controls and state information as its superclass. You can use the inherited methods to start and stop playback or change the playback rate. You can also get information about the current status of the player, including the elapsed playback time for the currently playing item. This method also implements the inherited replaceCurrentItem(with:) method and uses it to end playback of one item and start playback of another.

## Topics

### Creating a Queue Player

- [init(items:)](watchkit/wkaudiofilequeueplayer/init(items:).md)

### Managing Items

- [items](watchkit/wkaudiofilequeueplayer/items.md)
- [advanceToNextItem()](watchkit/wkaudiofilequeueplayer/advancetonextitem().md)
- [appendItem(_:)](watchkit/wkaudiofilequeueplayer/appenditem(_:).md)
- [removeItem(_:)](watchkit/wkaudiofilequeueplayer/removeitem(_:).md)
- [removeAllItems()](watchkit/wkaudiofilequeueplayer/removeallitems().md)

## Relationships

### Inherits From

- [WKAudioFilePlayer](watchkit/wkaudiofileplayer.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Audio

- [Playing Background Audio](watchkit/playing-background-audio.md)
- [Adding a Now Playing View](watchkit/adding-a-now-playing-view.md)
- [WKInterfaceVolumeControl](watchkit/wkinterfacevolumecontrol.md)
- [PUICAutoLaunchAudioOptOut](bundleresources/information-property-list/puicautolaunchaudiooptout.md)
- [WKAudioFilePlayer](watchkit/wkaudiofileplayer.md)
- [WKAudioFilePlayerItem](watchkit/wkaudiofileplayeritem.md)
- [WKAudioFileAsset](watchkit/wkaudiofileasset.md)
