Kendo UI speechToText TagHelper InlineAIPromptSpeechToTextSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("speech-to-text", ParentTag = "kendo-inlineaiprompt", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class InlineAIPromptSpeechToTextSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseInlineAIPromptSpeechToTextSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-inlineaiprompt name="inlineAIPrompt">
<speech-to-text continuous="true" />
</kendo-inlineaiprompt>
Constructors
Creates a InlineAIPromptSpeechToTextSettingsTagHelper instance.
public InlineAIPromptSpeechToTextSettingsTagHelper()
Properties
Specifies whether to continue listening after a result is received.
public bool? Continuous { get; set; }
Specifies the integration mode for speech recognition. Available modes: - "webSpeech" - Uses the Web Speech API - "none" - Provides button without actual speech recognition
public string IntegrationMode { get; set; }
Specifies whether to return interim results during speech recognition.
public bool? InterimResults { get; set; }
Specifies the maximum number of alternatives to return from speech recognition.
public double? MaxAlternatives { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the Inline AI Prompt Speech to Text settings.