AnimatedMediaControlButtons

fun AnimatedMediaControlButtons(onPlayButtonClick: () -> Unit, onPauseButtonClick: () -> Unit, playPauseButtonEnabled: Boolean, playing: Boolean, onSeekToPreviousButtonClick: () -> Unit, seekToPreviousButtonEnabled: Boolean, onSeekToNextButtonClick: () -> Unit, seekToNextButtonEnabled: Boolean, modifier: Modifier = Modifier, onSeekToPreviousLongRepeatableClick: () -> Unit? = null, onSeekToPreviousLongRepeatableClickEnd: () -> Unit? = null, onSeekToNextLongRepeatableClick: () -> Unit? = null, onSeekToNextLongRepeatableClickEnd: () -> Unit? = null, trackPositionUiModel: TrackPositionUiModel, progressColor: Color = MaterialTheme.colors.primary, colors: ButtonColors = MediaButtonDefaults.mediaButtonDefaultColors, rotateProgressIndicator: Flow<Unit> = flowOf())

Standard media control buttons, showing SeekToPreviousButton, PlayPauseProgressButton and SeekToNextButton.


fun AnimatedMediaControlButtons(onPlayButtonClick: () -> Unit, onPauseButtonClick: () -> Unit, playPauseButtonEnabled: Boolean, playing: Boolean, leftButton: @Composable () -> Unit, rightButton: @Composable () -> Unit, modifier: Modifier = Modifier, trackPositionUiModel: TrackPositionUiModel, progressColor: Color = MaterialTheme.colors.primary, colors: ButtonColors = MediaButtonDefaults.mediaButtonDefaultColors, rotateProgressIndicator: Flow<Unit> = flowOf())

Standard and custom action media control buttons, showing a PlayPauseProgressButton as the middle button, and allowing custom buttons to be passed for left and right buttons.