Class TranscriptChangeEventArgs
Provides data for the TranscriptChanging event, containing details about the updated transcript.
Inheritance
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class TranscriptChangeEventArgs : Object
Constructors
TranscriptChangeEventArgs()
Declaration
public TranscriptChangeEventArgs()
Properties
IsInterimResult
Gets a value indicating whether the current transcript update is an interim result.
Declaration
public bool IsInterimResult { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
When true
, the recognized text is an intermediate result and may be updated as speech recognition progresses.
If false
, the transcript is considered final and will not change.
By default, AllowInterimResults is enabled, allowing real-time updates.
To receive only finalized transcripts, set AllowInterimResults to false
.
Transcript
Gets the latest recognized transcript text during speech recognition.
Declaration
public string Transcript { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the real-time transcript output. The default value is System.String.Empty. |
Remarks
This property provides the intermediate or final speech recognition result.
If IsInterimResult is true
, the text may be modified until final recognition is completed.