ModernAudioDecibelCheckOptions constructor

const ModernAudioDecibelCheckOptions({
  1. required Function animateWaveform,
  2. required Function resetWaveform,
  3. required String name,
  4. required Participant participant,
  5. required AudioDecibelCheckParameters parameters,
  6. required Function onShowWaveformChanged,
  7. Duration checkInterval = const Duration(seconds: 1),
  8. double loudnessThreshold = 127.5,
  9. bool enableDebounce = true,
  10. Duration debounceDelay = const Duration(milliseconds: 200),
})

Implementation

const ModernAudioDecibelCheckOptions({
  required this.animateWaveform,
  required this.resetWaveform,
  required this.name,
  required this.participant,
  required this.parameters,
  required this.onShowWaveformChanged,
  this.checkInterval = const Duration(seconds: 1),
  this.loudnessThreshold = 127.5,
  this.enableDebounce = true,
  this.debounceDelay = const Duration(milliseconds: 200),
});