Loading...
getProgress()
Dart API: getProgress()arrow-up-right.
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.
Map
'progress'
'duration'
Example:
</div>
Duration progress = (await getProgress())['progress']; Duration duration = (await getProgress())['duration'];
Lorem ipsum ...