ClassSpeechRecognizerSpeechRecognizedEventArgs
Provides data for the speech recognized event.
Definition
Namespace:Telerik.Maui.SpeechRecognizer
Assembly:Telerik.Maui.Core.dll
Syntax:
public class SpeechRecognizerSpeechRecognizedEventArgs : EventArgs
Inheritance: objectEventArgsSpeechRecognizerSpeechRecognizedEventArgs
Inherited Members
Constructors
SpeechRecognizerSpeechRecognizedEventArgs(string, double)
Initializes a new instance of the SpeechRecognizerSpeechRecognizedEventArgs class with the specified recognized text.
Declaration
public SpeechRecognizerSpeechRecognizedEventArgs(string fullText, double fullTextConfidenceScore = -1)
Parameters
fullText
The current full text recognized from the speech input.
fullTextConfidenceScore
A number between 0 and 1 representing the confidence of the speech-to-text transcription. In case a confidence score cannot be provided, leave this value to be -1.
Fields
FullText
Gets the current full text recognized from the speech input.
FullTextConfidenceScore
Gets the confidence score for the recognized text. The value is between 0 and 1, indicating how confident the speech-to-text transcription is. If the value is -1, a confidence score could not be provided.