SeekBackButton

Functions summary

Unit

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

Functions

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

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

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 SeekBackButtonState.

Parameters
player: Player?

The Player to control.

content: @Composable SeekBackButtonState.() -> Unit

The composable content to be displayed for the button.