Cloud Speech-to-Text v2 API - Class StreamingRecognitionFeatures.Types.VoiceActivityTimeout (1.0.0-beta09)

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.

Inheritance

object > StreamingRecognitionFeatures.Types.VoiceActivityTimeout

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

VoiceActivityTimeout()

public VoiceActivityTimeout()

VoiceActivityTimeout(VoiceActivityTimeout)

public VoiceActivityTimeout(StreamingRecognitionFeatures.Types.VoiceActivityTimeout other)
Parameter
NameDescription
otherStreamingRecognitionFeaturesTypesVoiceActivityTimeout

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
TypeDescription
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
TypeDescription
Duration