---
title: advanceToNextItem()
framework: watchkit
role: symbol
role_heading: Instance Method
path: watchkit/wkaudiofilequeueplayer/advancetonextitem()
---

# advanceToNextItem()

Ends playback of the current item and begins playing the next item in the queue.

## Declaration

```swift
func advanceToNextItem()
```

## Discussion

Discussion The method removes the current item from the queue before beginning playback of the next item.

## See Also

### Managing Items

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