TurnDetection constructor

const TurnDetection({
  1. required TurnDetectionType type,
  2. double? threshold,
  3. int? prefixPaddingMs,
  4. int? silenceDurationMs,
  5. Eagerness? eagerness,
  6. bool? createResponse,
  7. bool? interruptResponse,
  8. int? idleTimeoutMs,
})

Implementation

const TurnDetection({
  required this.type,
  this.threshold,
  this.prefixPaddingMs,
  this.silenceDurationMs,
  this.eagerness,
  this.createResponse,
  this.interruptResponse,
  this.idleTimeoutMs,
});