PlaybackRateList

fun PlaybackRateList(modifier: Modifier = Modifier, playbackRates: List<Double> = defaultPlaybackRates, onClick: () -> Unit? = null)(source)

A list of playback rates, from which the user can choose a desired playback rate.

Parameters

modifier

the Modifier to be applied to this list

playbackRates

the list of possible playback rates

onClick

called when a playback rate in the list is clicked


fun PlaybackRateList(state: PlaybackRateState, modifier: Modifier = Modifier, playbackRates: List<Double> = defaultPlaybackRates, onClick: () -> Unit? = null)(source)

A list of playback rates, from which the user can choose a desired playback rate.

Parameters

state

the PlaybackRateState to read and control

modifier

the Modifier to be applied to this list

playbackRates

the list of possible playback rates

onClick

called when a playback rate in the list is clicked