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

Defines the fluent API for configuring the InlineAIPromptSpeechToTextSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class InlineAIPromptSpeechToTextSettingsBuilder

Inheritance: objectInlineAIPromptSpeechToTextSettingsBuilder

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

Constructors

C#
public InlineAIPromptSpeechToTextSettingsBuilder(InlineAIPromptSpeechToTextSettings settings)
Parameters:settingsInlineAIPromptSpeechToTextSettings

The InlineAIPromptSpeechToTextSettings

Methods

Specifies whether to continue listening after a result is received.

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

The value that configures the continuous.

Returns:

InlineAIPromptSpeechToTextSettingsBuilder

Specifies the integration mode for speech recognition. Available modes: - "webSpeech" - Uses the Web Speech API - "none" - Provides button without actual speech recognition

C#
public InlineAIPromptSpeechToTextSettingsBuilder IntegrationMode(string value)
Parameters:valuestring

The value that configures the integrationmode.

Returns:

InlineAIPromptSpeechToTextSettingsBuilder

Specifies whether to return interim results during speech recognition.

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

The value that configures the interimresults.

Returns:

InlineAIPromptSpeechToTextSettingsBuilder

Specifies the language code for speech recognition.

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

The value that configures the lang.

Returns:

InlineAIPromptSpeechToTextSettingsBuilder

Specifies the maximum number of alternatives to return from speech recognition.

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

The value that configures the maxalternatives.

Returns:

InlineAIPromptSpeechToTextSettingsBuilder