getCurrentMediaItemIndex

Returns the index of the current MediaItem in the timeline, or the prospective index if the current timeline is empty.