Class SpeechRecognitionStoppedEventArgs
Event arguments for the SfSpeechToText component when speech recognition stops.
Inheritance
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class SpeechRecognitionStoppedEventArgs : Object
Constructors
SpeechRecognitionStoppedEventArgs()
Declaration
public SpeechRecognitionStoppedEventArgs()
Properties
State
Gets the state of the speech recognition process after it has stopped.
Declaration
public SpeechToTextState State { get; set; }
Property Value
Type | Description |
---|---|
SpeechToTextState | A SpeechToTextState value representing the state of the recognition process. The default value is Inactive. |
Remarks
The recognition process transitions to Inactive once it stops. This can be used to determine when speech recognition has completed or been halted.
Transcript
Gets the final transcript of the speech recognized during the session.
Declaration
public string Transcript { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String containing the transcribed text from the speech recognition process. The default value is System.String.Empty. |
Remarks
This property provides the complete text that was recognized before the recognition process stopped. If no speech was detected, the transcript remains empty.