Contents

items()

Returns an array of the currently enqueued items.

Declaration

nonisolated func items() -> [AVPlayerItem]

Return Value

An array of the currently enqueued player items.

Discussion

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

See Also

Managing the player queue