voiceActivityTimeout property

  1. @TagNumber(3)
StreamingRecognitionFeatures_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(3)
StreamingRecognitionFeatures_VoiceActivityTimeout get voiceActivityTimeout =>
    $_getN(2);
  1. @TagNumber(3)
set voiceActivityTimeout (StreamingRecognitionFeatures_VoiceActivityTimeout v)

Implementation

@$pb.TagNumber(3)
set voiceActivityTimeout(
    StreamingRecognitionFeatures_VoiceActivityTimeout v) {
  setField(3, v);
}