getItem

fun getItem(periodId: Int): MediaQueueItem?

Returns the item that corresponds to the period with the given id, or null if no media queue or period with id periodId exist.

Return

The item that corresponds to the period with the given id, or null if no media queue or period with id periodId exist.

Parameters

periodId

The id of the period (getCurrentTimeline) that corresponds to the item to get.