activeQueueItemIndex

abstract val activeQueueItemIndex: Int?

Index of the item in activeQueue that is currently being played. Can be null if there is no active media, if the queue is empty, or if there is no active source.

Note: activeMediaItem does not always match the currently playing item from the activeQueue.