currentBufferedPercentageAsState
fun Player.currentBufferedPercentageAsState(updateInterval: Duration = DefaultUpdateInterval): FloatState
Observe the Player.getBufferedPercentage property, adjusted between 0 and 1, as a State.
Return
A State that represents the buffer percentage (between 0 and 1) of the Player.
Parameters
updateInterval
The interval at which this value is updated.