AmbientMediaControlButtons
Media control buttons for display in the ambient mode, showing AmbientPlayPauseButton button in the middle, and allows custom buttons to be passed for left and right.
Parameters
Callback invoked when the play button is clicked.
Callback invoked when the pause button is clicked.
Controls the enabled state of the play/pause button.
Indicates whether the media is currently playing.
Composable lambda that defines the left button. It receives a MutableInteractionSource to observe interactions.
Composable lambda that defines the right button. It receives a MutableInteractionSource to observe interactions.
Optional Modifier to be applied to the button group.
The ColorScheme used to style the play/pause button. Defaults to MaterialTheme.colorScheme.
Media control buttons for display in the ambient mode, showing AmbientPlayPauseButton button in the middle and AmbientSeekToPreviousButton and AmbientSeekToNextButton buttons on the sides.
Parameters
The PlayerUiState used to determine the state of the buttons.
Callback invoked when the play button is clicked.
Callback invoked when the pause button is clicked.
Callback invoked when the seek to previous button is clicked.
Callback invoked when the seek to next button is clicked.
Optional Modifier to be applied to the button group.
The ColorScheme used to style the buttons. Defaults to MaterialTheme.colorScheme.