Class SpeechRecognitionErrorEventArgs
Event arguments for the SfSpeechToText component when an error occurs during speech recognition.
Inherited Members
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class SpeechRecognitionErrorEventArgs
Constructors
SpeechRecognitionErrorEventArgs()
Declaration
public SpeechRecognitionErrorEventArgs()
Properties
Error
Gets the error type that occurred during speech recognition.
Declaration
public string Error { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the type of error encountered during speech recognition. Possible values include:
|
Remarks
This property helps identify specific errors during speech recognition, allowing for appropriate error handling and user feedback.
ErrorMessage
Gets a human-readable error message providing additional details about the error.
Declaration
public string ErrorMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string containing a descriptive error message. The default value is Empty. |
Remarks
This property provides more context about the error, offering additional details beyond the Error property. It can be useful for debugging or displaying error messages to users.