arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

The Ï„ Recorder API

onProgress

hashtag
onProgress

  • Dart API: onProgressarrow-up-right

The attribut onProgress is a stream on which FlutterSound will post the recorder progression. You may listen to this Stream to have feedback on the current recording.

Example:

</div>


        _recorderSubscription = myrecorder.onProgress.listen((e)
        {
                Duration maxDuration = e.duration;
                double decibels = e.decibels
                ...
        }

        Lorem ipsum ...
Dart
Javascript