rememberErrorState

Functions summary

ErrorState

Remembers the value of ErrorState created based on the passed Player and launches a coroutine to listen to Player's error changes.

Functions

rememberErrorState

@UnstableApi
@Composable
fun rememberErrorState(player: Player?): ErrorState

Remembers the value of ErrorState created based on the passed Player and launches a coroutine to listen to Player's error changes.