currentMediaItemIndex

expect open val currentMediaItemIndex: Int

Gets the index of the currently playing media item in the playlist, or -1 if no media item is playing.

actual open val currentMediaItemIndex: Int
actual open val currentMediaItemIndex: Int

Gets the index of the currently playing media item in the playlist, or -1 if no media item is playing.