PodcastControlButtons

fun PodcastControlButtons(playerController: PlayerUiController, playerUiState: PlayerUiState, modifier: Modifier = Modifier, colors: ButtonColors = MediaButtonDefaults.mediaButtonDefaultColors)

Convenience wrapper of PodcastControlButtons.

This version passes events to the provided PlayerUiController.


fun PodcastControlButtons(onPlayButtonClick: () -> Unit, onPauseButtonClick: () -> Unit, playPauseButtonEnabled: Boolean, playing: Boolean, onSeekBackButtonClick: () -> Unit, seekBackButtonEnabled: Boolean, onSeekForwardButtonClick: () -> Unit, seekForwardButtonEnabled: Boolean, modifier: Modifier = Modifier, seekBackButtonIncrement: SeekButtonIncrement = SeekButtonIncrement.Unknown, seekForwardButtonIncrement: SeekButtonIncrement = SeekButtonIncrement.Unknown, colors: ButtonColors = MediaButtonDefaults.mediaButtonDefaultColors)

Standard Podcast control buttons with no progress indicator, showing SeekBackButton, PlayPauseProgressButton and SeekForwardButton.


fun PodcastControlButtons(onPlayButtonClick: () -> Unit, onPauseButtonClick: () -> Unit, playPauseButtonEnabled: Boolean, playing: Boolean, onSeekBackButtonClick: () -> Unit, seekBackButtonEnabled: Boolean, onSeekForwardButtonClick: () -> Unit, seekForwardButtonEnabled: Boolean, trackPositionUiModel: TrackPositionUiModel, modifier: Modifier = Modifier, seekBackButtonIncrement: SeekButtonIncrement = SeekButtonIncrement.Unknown, seekForwardButtonIncrement: SeekButtonIncrement = SeekButtonIncrement.Unknown, colors: ButtonColors = MediaButtonDefaults.mediaButtonDefaultColors)

Standard Podcast control buttons showing SeekBackButton, PlayPauseProgressButton and SeekForwardButton.