addMediaItems

expect open fun addMediaItems(items: List<AstroMediaItem>)

Adds a list of media items to the end of the playlist.

Parameters

items

The list of media items to add.


expect open fun addMediaItems(index: Int, items: List<AstroMediaItem>)

Inserts a list of media items at a specific index in the playlist.

Parameters

index

The index at which to insert the media items.

items

The list of media items to add.

actual open fun addMediaItems(items: List<AstroMediaItem>)
actual open fun addMediaItems(index: Int, items: List<AstroMediaItem>)
actual open fun addMediaItems(items: List<AstroMediaItem>)

Adds a list of media items to the end of the playlist.

Parameters

items

The list of media items to add.


actual open fun addMediaItems(index: Int, items: List<AstroMediaItem>)

Inserts a list of media items at a specific index in the playlist.

Parameters

index

The index at which to insert the media items.

items

The list of media items to add.