SeekForwardButton

Functions summary

Unit

A state container for a button that seeks back in the current media item by Player.getSeekForwardIncrement.

Functions

SeekForwardButton

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

A state container for a button that seeks back in the current media item by Player.getSeekForwardIncrement.

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

Parameters
player: Player?

The Player to control.

content: @Composable SeekForwardButtonState.() -> Unit

The composable content to be displayed for the button.