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\u003eThe \u003ccode\u003eStreamingRecognitionFeatures\u003c/code\u003e class in the Google Cloud Speech-to-Text v2 API allows customization of recognition features for streaming requests.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties to enable voice activity events (\u003ccode\u003eEnableVoiceActivityEvents\u003c/code\u003e), control interim result streaming (\u003ccode\u003eInterimResults\u003c/code\u003e), and set voice activity timeout (\u003ccode\u003eVoiceActivityTimeout\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating a new instance of \u003ccode\u003eStreamingRecognitionFeatures\u003c/code\u003e and for copying from an existing instance.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 1.4.0, with previous versions including 1.3.0, 1.2.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]