onSampled
Called after the recording has stopped.
Parameters
maxAmplitude
The maximum amplitude value sampled since the previous sample.
Called after the recording has stopped.
The maximum amplitude value sampled since the previous sample.