getCurrentWindowIndex

Deprecated

Use getCurrentMediaItemIndex() instead.

Replace with

getCurrentMediaItemIndex()