onSampled

abstract fun onSampled(maxAmplitude: Int)

Called after the recording has stopped.

Parameters

maxAmplitude

The maximum amplitude value sampled since the previous sample.

See also