Class SpeechRecognitionErrorEventArgs
Event arguments for the SfSpeechToText component when an error occurs during speech recognition.
Inheritance
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class SpeechRecognitionErrorEventArgs : Object
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 |
---|---|
System.String | A System.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 |
---|---|
System.String | A System.String containing a descriptive error message. The default value is System.String.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.