---
title: "init(items:)"
framework: watchkit
role: symbol
role_heading: Initializer
path: "watchkit/wkaudiofilequeueplayer/init(items:)"
---

# init(items:)

Creates and returns a player initialized with an array of items.

## Declaration

```swift
convenience init(items: [WKAudioFilePlayerItem])
```

## Parameters

- `items`: An array of doc://com.apple.watchkit/documentation/WatchKit/WKAudioFilePlayerItem objects representing the assets to play. The order of the objects queue corresponds to the playback order of the assets.

## Return Value

Return Value An initialized player object.

## Discussion

Discussion The contents of the items property represent the initial items to play but you may add items to this queue later.
