ModernAudioDecibelCheckOptions constructor
const
ModernAudioDecibelCheckOptions({ - required Function animateWaveform,
- required Function resetWaveform,
- required String name,
- required Participant participant,
- required AudioDecibelCheckParameters parameters,
- required Function onShowWaveformChanged,
- Duration checkInterval = const Duration(seconds: 1),
- double loudnessThreshold = 127.5,
- bool enableDebounce = true,
- 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),
});