Defines the fluent API for configuring the ChatSpeechToTextSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatSpeechToTextSettingsBuilder
Inheritance: objectChatSpeechToTextSettingsBuilder
Inherited Members
Constructors
Initialize the ChatSpeechToTextSettingsBuilder
public ChatSpeechToTextSettingsBuilder(ChatSpeechToTextSettings settings)
Methods
Enables continuous speech recognition mode. When true, recognition continues until explicitly stopped.
public ChatSpeechToTextSettingsBuilder Continuous(bool value)
The value that configures the continuous.
Returns:Enables or disables the speech-to-text button.
public ChatSpeechToTextSettingsBuilder Enable(bool value)
The value that configures the enable.
Returns:The fill mode for the button (e.g., "flat", "solid", "outline").
public ChatSpeechToTextSettingsBuilder FillMode(ButtonFillMode value)
The value that configures the fillmode.
Returns:The icon name for the speech-to-text button.
public ChatSpeechToTextSettingsBuilder Icon(string value)
The value that configures the icon.
Returns:Whether to return interim (partial) results during speech recognition.
public ChatSpeechToTextSettingsBuilder InterimResults(bool value)
The value that configures the interimresults.
Returns:The language for speech recognition (BCP 47 language tag).
public ChatSpeechToTextSettingsBuilder Lang(string value)
The value that configures the lang.
Returns:Maximum number of alternative transcriptions to return.
public ChatSpeechToTextSettingsBuilder MaxAlternatives(double value)
The value that configures the maxalternatives.
Returns:The border radius for the button (e.g., "small", "medium", "large", "full").
public ChatSpeechToTextSettingsBuilder Rounded(Rounded value)
The value that configures the rounded.
Returns:The size of the button (e.g., "small", "medium", "large").
public ChatSpeechToTextSettingsBuilder Size(ComponentSize value)
The value that configures the size.
Returns:The theme color for the button (e.g., "base", "primary", "secondary").
public ChatSpeechToTextSettingsBuilder ThemeColor(ThemeColor value)
The value that configures the themecolor.
Returns: