New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the ChatSpeechToTextSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatSpeechToTextSettingsBuilder

Inheritance: objectChatSpeechToTextSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ChatSpeechToTextSettingsBuilder(ChatSpeechToTextSettings settings)
Parameters:settingsChatSpeechToTextSettings

The ChatSpeechToTextSettings

Methods

Enables continuous speech recognition mode. When true, recognition continues until explicitly stopped.

C#
public ChatSpeechToTextSettingsBuilder Continuous(bool value)
Parameters:valuebool

The value that configures the continuous.

Returns:

ChatSpeechToTextSettingsBuilder

Enables or disables the speech-to-text button.

C#
public ChatSpeechToTextSettingsBuilder Enable(bool value)
Parameters:valuebool

The value that configures the enable.

Returns:

ChatSpeechToTextSettingsBuilder

The fill mode for the button (e.g., "flat", "solid", "outline").

C#
public ChatSpeechToTextSettingsBuilder FillMode(ButtonFillMode value)
Parameters:valueButtonFillMode

The value that configures the fillmode.

Returns:

ChatSpeechToTextSettingsBuilder

The icon name for the speech-to-text button.

C#
public ChatSpeechToTextSettingsBuilder Icon(string value)
Parameters:valuestring

The value that configures the icon.

Returns:

ChatSpeechToTextSettingsBuilder

Whether to return interim (partial) results during speech recognition.

C#
public ChatSpeechToTextSettingsBuilder InterimResults(bool value)
Parameters:valuebool

The value that configures the interimresults.

Returns:

ChatSpeechToTextSettingsBuilder

The language for speech recognition (BCP 47 language tag).

C#
public ChatSpeechToTextSettingsBuilder Lang(string value)
Parameters:valuestring

The value that configures the lang.

Returns:

ChatSpeechToTextSettingsBuilder

Maximum number of alternative transcriptions to return.

C#
public ChatSpeechToTextSettingsBuilder MaxAlternatives(double value)
Parameters:valuedouble

The value that configures the maxalternatives.

Returns:

ChatSpeechToTextSettingsBuilder

The border radius for the button (e.g., "small", "medium", "large", "full").

C#
public ChatSpeechToTextSettingsBuilder Rounded(Rounded value)
Parameters:valueRounded

The value that configures the rounded.

Returns:

ChatSpeechToTextSettingsBuilder

The size of the button (e.g., "small", "medium", "large").

C#
public ChatSpeechToTextSettingsBuilder Size(ComponentSize value)
Parameters:valueComponentSize

The value that configures the size.

Returns:

ChatSpeechToTextSettingsBuilder

The theme color for the button (e.g., "base", "primary", "secondary").

C#
public ChatSpeechToTextSettingsBuilder ThemeColor(ThemeColor value)
Parameters:valueThemeColor

The value that configures the themecolor.

Returns:

ChatSpeechToTextSettingsBuilder