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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This documentation provides details for the `StreamingRecognitionFeatures.Types.VoiceActivityTimeout` class within the Cloud Speech-to-Text v2 API, which manages timeout events for voice activity."],["The `VoiceActivityTimeout` class is part of the `Google.Cloud.Speech.V2` namespace and is implemented with several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["It allows for setting two types of timeouts: `SpeechEndTimeout`, which ends the stream after a set duration of no detected speech following speech detection, and `SpeechStartTimeout`, which ends the stream if no speech is detected at the beginning of the stream within the set duration."],["The class features two constructors: a default one and one that accepts another `VoiceActivityTimeout` object for copying its values."],["This documentation includes links to available versions, from version 1.0.0 to the latest version, 1.4.0, of the related APIs."]]],[]]