ChatSpeechToTextSettingsBuilder

Methods

Enable(System.Boolean)

Enables or disables the speech-to-text button.

Parameters

value - System.Boolean

The value for Enable

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

Lang(System.String)

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

Parameters

value - System.String

The value for Lang

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

Continuous(System.Boolean)

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

Parameters

value - System.Boolean

The value for Continuous

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

Continuous()

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

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

InterimResults(System.Boolean)

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

Parameters

value - System.Boolean

The value for InterimResults

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

InterimResults()

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

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

MaxAlternatives(System.Double)

Maximum number of alternative transcriptions to return.

Parameters

value - System.Double

The value for MaxAlternatives

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

Icon(System.String)

The icon name for the speech-to-text button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

Parameters

icon - System.String

The icon.

RETURNS

Returns the current instance of ChatSpeechToTextSettingsBuilder .

Icon(System.Action)

The icon name for the speech-to-text button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

Parameters

configurator - System.Action<ChatSpeechToTextIconSettingsBuilder>

The configurator for the icon setting.

RETURNS

Returns the current instance of ChatSpeechToTextSettingsBuilder .

FillMode(Kendo.Mvc.UI.ButtonFillMode)

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

Parameters

value - ButtonFillMode

The value for FillMode

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

Rounded(Kendo.Mvc.UI.Rounded)

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

Parameters

value - Rounded

The value for Rounded

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

Size(Kendo.Mvc.UI.ComponentSize)

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

Parameters

value - ComponentSize

The value for Size

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.

ThemeColor(Kendo.Mvc.UI.ThemeColor)

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

Parameters

value - ThemeColor

The value for ThemeColor

RETURNS

Returns the current ChatSpeechToTextSettingsBuilder instance.