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
Initializes a new instance of the SpeechRecognizerSpeechRecognizedEventArgs class with the specified recognized text.
public SpeechRecognizerSpeechRecognizedEventArgs(string fullText, double fullTextConfidenceScore = -1)
The current full text recognized from the speech input.
fullTextConfidenceScoredoubleA 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
Gets the current full text recognized from the speech input.
public readonly string FullText
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.
public readonly double FullTextConfidenceScore