Initializer

init(items:)

Creates a queue player with player items from the specified array.

Declaration

init(items: [AVPlayerItem])

Parameters

items

An array of AVPlayerItem objects with which to initially populate the player’s queue.

Return Value

An instance of AVQueuePlayer initialized to play the player items in items.

See Also