NextButton

Functions summary

Unit

A state container for a button that seeks to the next media item.

Functions

@UnstableApi
@Composable
fun NextButton(player: Player?, content: @Composable NextButtonState.() -> Unit): Unit

A state container for a button that seeks to the next media item.

This composable manages the enabled state and click handling of a next button. The UI is provided by the content lambda, which has access to the NextButtonState.

Parameters
player: Player?

The Player to control.

content: @Composable NextButtonState.() -> Unit

The composable content to be displayed for the button.