moveMediaItems

expect open fun moveMediaItems(fromIndex: Int, toIndex: Int, newIndex: Int)

Moves a range of media items from one index to another in the playlist.

Parameters

fromIndex

The starting index of the media items to move.

toIndex

The ending index of the media items to move (exclusive).

newIndex

The new index at which to insert the moved media items.

actual open fun moveMediaItems(fromIndex: Int, toIndex: Int, newIndex: Int)
actual open fun moveMediaItems(fromIndex: Int, toIndex: Int, newIndex: Int)

Moves a range of media items from one index to another in the playlist.

Parameters

fromIndex

The starting index of the media items to move.

toIndex

The ending index of the media items to move (exclusive).

newIndex

The new index at which to insert the moved media items.