VoiceSessionConfig constructor
VoiceSessionConfig({})
Implementation
factory VoiceSessionConfig({
$core.int? silenceDurationMs,
$core.double? speechThreshold,
$core.bool? autoPlayTts,
$core.bool? continuousMode,
$core.bool? thinkingModeEnabled,
$core.int? maxTokens,
$core.int? maxRecordingDurationMs,
$core.String? languageCode,
$core.String? voiceId,
}) {
final result = create();
if (silenceDurationMs != null) result.silenceDurationMs = silenceDurationMs;
if (speechThreshold != null) result.speechThreshold = speechThreshold;
if (autoPlayTts != null) result.autoPlayTts = autoPlayTts;
if (continuousMode != null) result.continuousMode = continuousMode;
if (thinkingModeEnabled != null)
result.thinkingModeEnabled = thinkingModeEnabled;
if (maxTokens != null) result.maxTokens = maxTokens;
if (maxRecordingDurationMs != null)
result.maxRecordingDurationMs = maxRecordingDurationMs;
if (languageCode != null) result.languageCode = languageCode;
if (voiceId != null) result.voiceId = voiceId;
return result;
}