insert(_:position:)

Inserts a playable music item into the playback queue.

Declaration

func insert<PlayableMusicItemType>(_ playableItem: PlayableMusicItemType, position: MusicPlayer.Queue.EntryInsertionPosition) async throws where PlayableMusicItemType : PlayableMusicItem