New to Telerik UI for .NET MAUIStart a free 30-day trial

Provides data for the speech recognized event.

Definition

Namespace:Telerik.Maui.SpeechRecognizer

Assembly:Telerik.Maui.Core.dll

Syntax:

C#
public class SpeechRecognizerSpeechRecognizedEventArgs : EventArgs

Inheritance: objectEventArgsSpeechRecognizerSpeechRecognizedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the SpeechRecognizerSpeechRecognizedEventArgs class with the specified recognized text.

C#
public SpeechRecognizerSpeechRecognizedEventArgs(string fullText, double fullTextConfidenceScore = -1)
Parameters:fullTextstring

The current full text recognized from the speech input.

fullTextConfidenceScoredouble

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

Gets the current full text recognized from the speech input.

C#
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.

C#
public readonly double FullTextConfidenceScore