Class AIAssistViewSpeechToTextSettings
Inheritance
Namespace: Syncfusion.EJ2.InteractiveChat
Assembly: Syncfusion.EJ2.dll
Syntax
public class AIAssistViewSpeechToTextSettings : EJTagHelper
Constructors
AIAssistViewSpeechToTextSettings()
Declaration
public AIAssistViewSpeechToTextSettings()
Properties
AllowInterimResults
Specifies whether interim results should be captured during speech recognition.
Declaration
public bool AllowInterimResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is true |
ButtonSettings
Configuration object for the mic button appearance and behavior. Defines the button text, icons, position, and styling for both start and stop states.
Declaration
public object ButtonSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
| Type |
|---|
| Syncfusion.EJ2.MvcTemplate<System.Object> |
CssClass
Applies custom CSS classes to the speech-to-text component.
Declaration
public string CssClass { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |
Disabled
Specifies whether the speech-to-text control is disabled.
Declaration
public bool Disabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is false |
Enable
Specifies whether speech-to-text functionality is enabled.
Declaration
public bool Enable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is false |
Lang
Specifies the language for speech recognition using ISO language codes.
Declaration
public string Lang { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "en-US" |
ListeningState
Indicates whether the component is currently listening.
Declaration
public object ListeningState { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The default value is null |
OnError
Declaration
public string OnError { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
OnStart
Declaration
public string OnStart { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
OnStop
Declaration
public string OnStop { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |
ShowTooltip
Specifies whether to show tooltip for the mic button.
Declaration
public bool ShowTooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is true |
TooltipSettings
Configuration object for tooltip appearance and behavior. Defines the tooltip text and position for both listening and stop states.
Declaration
public object TooltipSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object | The default value is null |
Transcript
Stores the recognized speech transcript. This property is read-only and updated when speech recognition results are received.
Declaration
public string Transcript { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is "" |
TranscriptChanged
Declaration
public string TranscriptChanged { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The default value is null |