Interruption class
Barge-in policy for a voice session.
Constructors
- Interruption({bool enabled = true, int minDurationMs = 500})
-
Allow or forbid the user cutting the agent off.
const
Properties
- enabled → bool
-
True lets user speech stop the agent mid-utterance.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- minDurationMs → int
-
Speech this long counts as an interruption rather than a cough.
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