utils/functions library

Functions

getPlayerPercentage(GoggleCastMediaStatus mediaStatus, Duration? currentDuration) double?
Calculates the playback percentage based on current position and total duration.