StreamingRecognitionFeatures constructor
StreamingRecognitionFeatures({
- bool? enableVoiceActivityEvents,
- bool? interimResults,
- StreamingRecognitionFeatures_VoiceActivityTimeout? voiceActivityTimeout,
Implementation
factory StreamingRecognitionFeatures({
$core.bool? enableVoiceActivityEvents,
$core.bool? interimResults,
StreamingRecognitionFeatures_VoiceActivityTimeout? voiceActivityTimeout,
}) {
final $result = create();
if (enableVoiceActivityEvents != null) {
$result.enableVoiceActivityEvents = enableVoiceActivityEvents;
}
if (interimResults != null) {
$result.interimResults = interimResults;
}
if (voiceActivityTimeout != null) {
$result.voiceActivityTimeout = voiceActivityTimeout;
}
return $result;
}