public sealed class SpeechRecognitionResult : IMessage<SpeechRecognitionResult>, IEquatable<SpeechRecognitionResult>, IDeepCloneable<SpeechRecognitionResult>, IBufferMessage, IMessage
A speech recognition result corresponding to a portion of the audio.
public RepeatedField<SpeechRecognitionAlternative> Alternatives { get; }
May contain one or more recognition hypotheses (up to the
maximum specified in max_alternatives).
These alternatives are ordered in terms of accuracy, with the top (first)
alternative being the most probable, as ranked by the recognizer.
For multi-channel audio, this is the channel number corresponding to the
recognized result for the audio from that channel.
For audio_channel_count = N, its output values can range from '1' to 'N'.
Output only. The BCP-47 language tag
of the language in this result. This language code was detected to have
the most likelihood of being spoken in the audio.
[[["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\u003e\u003ccode\u003eSpeechRecognitionResult\u003c/code\u003e is a class representing a portion of audio processed by speech recognition, inheriting from \u003ccode\u003eObject\u003c/code\u003e and implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eAlternatives\u003c/code\u003e, \u003ccode\u003eChannelTag\u003c/code\u003e, \u003ccode\u003eLanguageCode\u003c/code\u003e, and \u003ccode\u003eResultEndTime\u003c/code\u003e to access the recognition hypotheses, the audio channel number, the detected language, and the end time of the result within the audio, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the class, a default \u003ccode\u003eSpeechRecognitionResult()\u003c/code\u003e and a copy constructor \u003ccode\u003eSpeechRecognitionResult(SpeechRecognitionResult other)\u003c/code\u003e for creating a new object based on an existing \u003ccode\u003eSpeechRecognitionResult\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAlternatives\u003c/code\u003e property in \u003ccode\u003eSpeechRecognitionResult\u003c/code\u003e returns a list of \u003ccode\u003eSpeechRecognitionAlternative\u003c/code\u003e objects, ordered by accuracy, with the most probable alternative at the beginning of the list.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSpeechRecognitionResult\u003c/code\u003e class is found within the namespace \u003ccode\u003eGoogle.Cloud.Speech.V1P1Beta1\u003c/code\u003e and is compiled in the \u003ccode\u003eGoogle.Cloud.Speech.V1P1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]