TurnDetection class
Constructors
- TurnDetection.new({required TurnDetectionType type, double? threshold, int? prefixPaddingMs, int? silenceDurationMs, Eagerness? eagerness, bool? createResponse, bool? interruptResponse, int? idleTimeoutMs})
-
const
-
TurnDetection.fromJson(Map<
String, dynamic> ? j) -
factory
Properties
- createResponse → bool?
-
final
- eagerness → Eagerness?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idleTimeoutMs → int?
-
final
- interruptResponse → bool?
-
final
- prefixPaddingMs → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- silenceDurationMs → int?
-
final
- threshold → double?
-
final
- type → TurnDetectionType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited