Class
SpeechRecognizerSpeechRecognizedEventArgs

Provides data for the speech recognized event.

Definition

Namespace:Telerik.Maui.SpeechRecognizer

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class SpeechRecognizerSpeechRecognizedEventArgs : EventArgs

Inheritance: objectEventArgsSpeechRecognizerSpeechRecognizedEventArgs

Inherited Members EventArgs.Empty

Constructors

SpeechRecognizerSpeechRecognizedEventArgs(string, double)

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

Declaration

cs-api-definition
public SpeechRecognizerSpeechRecognizedEventArgs(string fullText, double fullTextConfidenceScore = -1)

Parameters

fullText

string

The current full text recognized from the speech input.

fullTextConfidenceScore

double

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

cs-api-definition
public readonly string FullText

Field Value

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

cs-api-definition
public readonly double FullTextConfidenceScore

Field Value

double