---
title: items()
framework: avfoundation
role: symbol
role_heading: Instance Method
path: avfoundation/avqueueplayer/items()
---

# items()

Returns an array of the currently enqueued items.

## Declaration

```swift
nonisolated func items() -> [AVPlayerItem]
```

## Return Value

Return Value An array of the currently enqueued player items.

## Discussion

Discussion The array contains AVPlayerItem objects currently in the player’s queue.

## See Also

### Managing the player queue

- [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)
