New to Telerik UI for BlazorStart a free 30-day trial

Definition

Constructors

C#
public AIPromptSpeechToTextButtonSettings()

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool
C#
protected override void OnInitialized()

Overrides: ComponentBase.OnInitialized()

Properties

Whether continuous results are returned for each recognition, or only a single result. Defaults value is false.

C#
[Parameter]
public bool Continuous { get; set; }

Specifies the fill mode of the button. Default value is Flat.

C#
[Parameter]
public string FillMode { get; set; }

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.

C#
[Parameter]
public SpeechToTextButtonIntegrationMode IntegrationMode { get; set; }

Whether interim results should be returned. Interim results are results that are not yet final. Defaults value is false.

C#
[Parameter]
public bool InterimResults { get; set; }

BCP 47 language tag (e.g., 'en-US', 'bg-BG'). Defaults to browser/system language.

C#
[Parameter]
public string Lang { get; set; }

The maximum returned alternatives for each result. Defaults value is 1.

C#
[Parameter]
public int MaxAlternatives { get; set; }

The Click handler of the button.

C#
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }

Event that fires when the speech recognition service has disconnected.

C#
[Parameter]
public EventCallback OnEnd { get; set; }

Event that fires when a speech recognition error occurs, providing error details.

C#
[Parameter]
public EventCallback<string> OnError { get; set; }

Event that fires when the speech recognition service returns a result - a word or phrase has been positively recognized.

C#
[Parameter]
public EventCallback<SpeechToTextButtonResultEventArgs> OnResult { get; set; }

Event that fires when the speech recognition service has begun listening to incoming audio.

C#
[Parameter]
public EventCallback OnStart { get; set; }

Specifies the roundness of the button. Default value is Medium.

C#
[Parameter]
public virtual string Rounded { get; set; }

Specifies the size of the button. Default value is Medium.

C#
[Parameter]
public string Size { get; set; }

Specifies the theme color of the button. Default value is Base.

C#
[Parameter]
public virtual string ThemeColor { get; set; }

Sets the title of the button displayed as tooltip text.

C#
[Parameter]
public string Title { get; set; }