SemanticVad class
Semantic VAD turn detection.
- Inheritance
-
- Object
- RealtimeAudioInputTurnDetection
- SemanticVad
- Annotations
-
- @immutable
Constructors
- SemanticVad({bool? createResponse, SemanticVadEagerness? eagerness, bool? interruptResponse})
-
Creates a SemanticVad.
const
-
SemanticVad.fromJson(Map<
String, dynamic> json) -
Creates from JSON.
factory
Properties
- createResponse → bool?
-
Whether to automatically generate a response on VAD stop.
final
- eagerness → SemanticVadEagerness?
-
Eagerness controlling the timeout used to decide the speaker is done.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- interruptResponse → bool?
-
Whether to interrupt an in-progress response on VAD start.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The discriminator value.
no setteroverride
Methods
-
copyWith(
{Object? createResponse = unsetCopyWithValue, Object? eagerness = unsetCopyWithValue, Object? interruptResponse = unsetCopyWithValue}) → SemanticVad - Returns a copy with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts to JSON.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override