rememberCuesState

Functions summary

CuesState

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

Functions

rememberCuesState

@UnstableApi
@Composable
fun rememberCuesState(player: Player?): CuesState

Remembers the value of CuesState created based on the passed Player and launches a coroutine to listen to Player's cue changes. If the Player instance changes between compositions, produces and remembers a new value.