Class
SpeechRecognizerErrorOccurredEventArgs

Provides data for the error occurred event in the speech recognizer.

Definition

Namespace:Telerik.Maui.SpeechRecognizer

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class SpeechRecognizerErrorOccurredEventArgs : EventArgs

Inheritance: objectEventArgsSpeechRecognizerErrorOccurredEventArgs

Inherited Members EventArgs.Empty

Constructors

SpeechRecognizerErrorOccurredEventArgs(string, Exception)

Initializes a new instance of the SpeechRecognizerErrorOccurredEventArgs class with the specified error message and optional exception.

Declaration

cs-api-definition
public SpeechRecognizerErrorOccurredEventArgs(string message, Exception exception = null)

Parameters

message

string

The error message.

exception

Exception

The exception associated with the error, if any.

Fields

Exception

Gets the exception associated with the speech recognizer error, if any.

Declaration

cs-api-definition
public readonly Exception Exception

Field Value

Exception

Message

Gets the error message associated with the speech recognizer error.

Declaration

cs-api-definition
public readonly string Message

Field Value

string

Properties

Handled

Gets or sets a value indicating whether the error has been handled.

Declaration

cs-api-definition
public bool Handled { get; set; }

Property Value

bool