The τ Player API
getProgress()
getProgress()
getProgress()
Dart API: getProgress().
This verb is used to get the current progress of a playback. It returns a Map
with two Duration entries : 'progress'
and 'duration'
. Remark : actually only implemented on iOS.
Example:
Duration progress = (await getProgress())['progress'];
Duration duration = (await getProgress())['duration'];
Lorem ipsum ...
</div>
Last updated
Was this helpful?