PreviousButton

Functions summary

Unit

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

Functions

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

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

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

Parameters
player: Player?

The Player to control.

content: @Composable PreviousButtonState.() -> Unit

The composable content to be displayed for the button.