rememberLiveButtonState

fun rememberLiveButtonState(player: Player?, liveThreshold: Double): LiveButtonState(source)

Creates a LiveButtonState that's remembered across compositions.

Parameters

liveThreshold

the maximum distance (in seconds) from the live point that the player's current time can be for it to still be considered "at the live point"