STTDuckingConfig class

Native recognition ducking and restoration policy.

Constructors

STTDuckingConfig({AudioRoutingOverride? onUnpause, AudioRoutingOverride? onPause, int? msBeforeUnduck})
Creates STT pause/unpause routing overrides.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
msBeforeUnduck → int?
Delay before restoring unducked audio after an STT transition.
final
onPause → AudioRoutingOverride?
Override applied when speech recognition pauses.
final
onUnpause → AudioRoutingOverride?
Override applied when speech recognition resumes.
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
toJson() → Map<String, dynamic>
Converts this policy to the native JSON-compatible representation.
toString() → String
A string representation of this object.
inherited

Operators

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