QueueNavigator

interface QueueNavigator

QueueNavigator allows handling queue navigation actions when sent by a media controller.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun getActiveQueueItemId(player: Player): Long

Get the active queue item id.

Link copied to clipboard

Get supported queue navigator actions.

Link copied to clipboard
abstract fun onSkipToNext(player: Player)

Called when the media controller indicates it wants skip to the next media item.

Link copied to clipboard
abstract fun onSkipToPrevious(player: Player)

Called when the media controller indicates it wants skip to the previous media item.

Link copied to clipboard
abstract fun onSkipToQueueItem(player: Player, id: Long)

Called when the media controller indicates it wants skip to a specific item in queue.