ClassAIPromptSpeechToTextButtonSettings
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class AIPromptSpeechToTextButtonSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseAIPromptSpeechToTextButtonSettings
Implements:
Inherited Members
Constructors
AIPromptSpeechToTextButtonSettings()
Declaration
public AIPromptSpeechToTextButtonSettings()
Properties
Continuous
Whether continuous results are returned for each recognition, or only a single result. Defaults value is false.
FillMode
Specifies the fill mode of the button. Default value is Clear.
Declaration
[Parameter]
public string FillMode { get; set; }
Property Value
IntegrationMode
The speech recognition engine or integration the component should use. This allows the component to operate in different environments or use alternative implementations. If unset, WebSpeech will be used.
Declaration
[Parameter]
public SpeechToTextButtonIntegrationMode IntegrationMode { get; set; }
Property Value
InterimResults
Whether interim results should be returned. Interim results are results that are not yet final. Defaults value is false.
Declaration
[Parameter]
public bool InterimResults { get; set; }
Property Value
Lang
BCP 47 language tag (e.g., 'en-US', 'bg-BG'). Defaults to browser/system language.
MaxAlternatives
The maximum returned alternatives for each result. Defaults value is 1.
Declaration
[Parameter]
public int MaxAlternatives { get; set; }
Property Value
OnClick
The Click handler of the button.
Declaration
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
OnEnd
Event that fires when the speech recognition service has disconnected.
Declaration
[Parameter]
public EventCallback OnEnd { get; set; }
Property Value
OnError
Event that fires when a speech recognition error occurs, providing error details.
Declaration
[Parameter]
public EventCallback<string> OnError { get; set; }
Property Value
OnResult
Event that fires when the speech recognition service returns a result - a word or phrase has been positively recognized.
Declaration
[Parameter]
public EventCallback<SpeechToTextButtonResultEventArgs> OnResult { get; set; }
Property Value
OnStart
Event that fires when the speech recognition service has begun listening to incoming audio.
Declaration
[Parameter]
public EventCallback OnStart { get; set; }
Property Value
Rounded
Specifies the roundness of the button. Default value is Medium.
Declaration
[Parameter]
public virtual string Rounded { get; set; }
Property Value
ThemeColor
Specifies the theme color of the button. Default value is Base.
Declaration
[Parameter]
public virtual string ThemeColor { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
disposing
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides