public sealed class StreamingRecognitionFeatures.Types.VoiceActivityTimeout : IMessage<StreamingRecognitionFeatures.Types.VoiceActivityTimeout>, IEquatable<StreamingRecognitionFeatures.Types.VoiceActivityTimeout>, IDeepCloneable<StreamingRecognitionFeatures.Types.VoiceActivityTimeout>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class StreamingRecognitionFeatures.Types.VoiceActivityTimeout.
Events that a timeout can be set on for voice activity.
Implements
IMessageStreamingRecognitionFeaturesTypesVoiceActivityTimeout, IEquatableStreamingRecognitionFeaturesTypesVoiceActivityTimeout, IDeepCloneableStreamingRecognitionFeaturesTypesVoiceActivityTimeout, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Constructors
VoiceActivityTimeout()
public VoiceActivityTimeout()
VoiceActivityTimeout(VoiceActivityTimeout)
public VoiceActivityTimeout(StreamingRecognitionFeatures.Types.VoiceActivityTimeout other)
Parameter | |
---|---|
Name | Description |
other | StreamingRecognitionFeaturesTypesVoiceActivityTimeout |
Properties
SpeechEndTimeout
public Duration SpeechEndTimeout { get; set; }
Duration to timeout the stream after speech ends. If this is set and no speech is detected in this duration after speech was detected, the server will close the stream.
Property Value | |
---|---|
Type | Description |
Duration |
SpeechStartTimeout
public Duration SpeechStartTimeout { get; set; }
Duration to timeout the stream if no speech begins. If this is set and no speech is detected in this duration at the start of the stream, the server will close the stream.
Property Value | |
---|---|
Type | Description |
Duration |