public sealed class StreamingRecognitionFeatures : IMessage<StreamingRecognitionFeatures>, IEquatable<StreamingRecognitionFeatures>, IDeepCloneable<StreamingRecognitionFeatures>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class StreamingRecognitionFeatures.
Available recognition features specific to streaming recognition requests.
Whether or not to stream interim results to the client. If set to true,
interim results will be streamed to the client. Otherwise, only the final
response will be streamed back.
public StreamingRecognitionFeatures.Types.VoiceActivityTimeout VoiceActivityTimeout { get; set; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eStreamingRecognitionFeatures\u003c/code\u003e class within the Google Cloud Speech-to-Text v2 API, specifically for the .NET environment, with the latest version being 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStreamingRecognitionFeatures\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling its usage within the Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThis class has properties like \u003ccode\u003eEnableVoiceActivityEvents\u003c/code\u003e and \u003ccode\u003eInterimResults\u003c/code\u003e which are booleans that set certain parameters, and \u003ccode\u003eVoiceActivityTimeout\u003c/code\u003e which configures streaming behavior based on voice activity.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one that is parameterless and one that uses an \u003ccode\u003eother\u003c/code\u003e parameter to create a new instance of itself.\u003c/p\u003e\n"],["\u003cp\u003eThis page includes inherited members from the \u003ccode\u003eobject\u003c/code\u003e base class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, providing standard object functionality.\u003c/p\u003e\n"]]],[],null,[]]