ModernAudioDecibelCheckOptions class

Configuration options for the ModernAudioDecibelCheck widget.

This component monitors audio levels and triggers visual feedback through callback functions. It's a utility widget that doesn't render visible content but manages audio state detection. Uses the same AudioDecibelCheckParameters as the original component.

Constructors

ModernAudioDecibelCheckOptions.new({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)})
const

Properties

animateWaveform Function
final
checkInterval Duration
final
debounceDelay Duration
final
enableDebounce bool
final
hashCode int
The hash code for this object.
no setterinherited
loudnessThreshold double
final
name String
final
onShowWaveformChanged Function
final
parameters AudioDecibelCheckParameters
final
participant Participant
final
resetWaveform Function
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited