currentMediaItemIndexAsState

Observe the Player.getCurrentMediaItemIndex property as a State.

Return

A State that represents the current MediaItem index.