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

Defines the fluent API for configuring the PromptBoxSpeechToTextButtonSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PromptBoxSpeechToTextButtonSettingsBuilder

Inheritance: objectPromptBoxSpeechToTextButtonSettingsBuilder

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

Constructors

C#
public PromptBoxSpeechToTextButtonSettingsBuilder(PromptBoxSpeechToTextButtonSettings settings)
Parameters:settingsPromptBoxSpeechToTextButtonSettings

The PromptBoxSpeechToTextButtonSettings

Methods

Enables continuous speech recognition mode. When enabled, recognition continues until manually stopped.

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

The value that configures the continuous.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Enables or disables the Speech to Text button.

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

The value that configures the enable.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Defines the fill mode for the Speech to Text button.

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

The value that configures the fillmode.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Defines the font icon name for the Speech to Text button.

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

The value that configures the icon.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Enables interim (partial) speech recognition results.

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

The value that configures the interimresults.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Sets the language for speech recognition. Use standard language codes.

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

The value that configures the lang.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Sets the maximum number of alternative transcriptions to return.

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

The value that configures the maxalternatives.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Defines the border radius for the Speech to Text button.

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

The value that configures the rounded.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Defines the size of the Speech to Text button.

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

The value that configures the size.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder

Defines the theme color for the Speech to Text button.

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

The value that configures the themecolor.

Returns:

PromptBoxSpeechToTextButtonSettingsBuilder