Contents

remove(_:)

Removes a given player item from the queue.

Declaration

nonisolated func remove(_ item: AVPlayerItem)

Parameters

  • item:

    The player item to remove from the queue.

Discussion

If the item is currently playing, calling this method has the same effect as calling the advanceToNextItem() method.

See Also

Managing the player queue