Contents

indexOfNowPlayingItem

The index of the now playing item in the current playback queue.

Declaration

var indexOfNowPlayingItem: Int { get }

Discussion

This property’s value is NSNotFound if the index isn’t valid, for example, if the playback queue is empty.

See Also

Managing playback mode and state