SmoothProgressTrackerState
class SmoothProgressTrackerState(player: PillarboxExoPlayer, coroutineScope: CoroutineScope, imageOutput: ImageOutput = ImageOutput.NO_OP) : ProgressTrackerState
A ProgressTrackerState implementation that updates the Player progress every time onChanged is called.
Parameters
player
The Player whose progress needs to be tracked.
coroutineScope
The CoroutineScope used for managing StateFlows.
imageOutput
The ImageOutput to render the image track.
Constructors
Link copied to clipboard
constructor(player: PillarboxExoPlayer, coroutineScope: CoroutineScope, imageOutput: ImageOutput = ImageOutput.NO_OP)