voiceActivityTimeout property

  1. @TagNumber(6)
StreamingRecognitionConfig_VoiceActivityTimeout get voiceActivityTimeout

If set, the server will automatically close the stream after the specified duration has elapsed after the last VOICE_ACTIVITY speech event has been sent. The field voice_activity_events must also be set to true.

Implementation

@$pb.TagNumber(6)
StreamingRecognitionConfig_VoiceActivityTimeout get voiceActivityTimeout =>
    $_getN(4);
  1. @TagNumber(6)
set voiceActivityTimeout (StreamingRecognitionConfig_VoiceActivityTimeout v)

Implementation

@$pb.TagNumber(6)
set voiceActivityTimeout(StreamingRecognitionConfig_VoiceActivityTimeout v) {
  setField(6, v);
}