rememberPlaybackSpeedState

Functions summary

PlaybackSpeedState

Remember the value of PlaybackSpeedState created based on the passed Player and launch a coroutine to listen to Player's changes.

Functions

rememberPlaybackSpeedState

@UnstableApi
@Composable
fun rememberPlaybackSpeedState(player: Player?): PlaybackSpeedState

Remember the value of PlaybackSpeedState created based on the passed Player and launch a coroutine to listen to Player's changes. If the Player instance changes between compositions, produce and remember a new value.