Class SpeechRecognizerSpeechRecognizedEventArgs
Provides data for the speech recognized event.
Inheritance
Namespace: Telerik.Maui.SpeechRecognizer
Assembly: Telerik.Maui.Core.dll
Syntax
public class SpeechRecognizerSpeechRecognizedEventArgs : EventArgs
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
System.String
fullText
The current full text recognized from the speech input. |
System.Double
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.
Declaration
public readonly string FullText
Field Value
System.String
|
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.
Declaration
public readonly double FullTextConfidenceScore
Field Value
System.Double
|