Settings component of the Chat Speech To Text Button.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class ChatSpeechToTextButtonSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseChatSpeechToTextButtonSettings
Implements:
Inherited Members
Constructors
public ChatSpeechToTextButtonSettings()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
Properties
Whether continuous results are returned for each recognition, or only a single result. Defaults value is false.
[Parameter]
public bool Continuous { get; set; }
Specifies the fill mode of the button. Default value is Flat.
[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.
[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.
[Parameter]
public bool InterimResults { get; set; }
BCP 47 language tag (e.g., 'en-US', 'bg-BG'). Defaults to browser/system language.
[Parameter]
public string Lang { get; set; }
The maximum returned alternatives for each result. Defaults value is 1.
[Parameter]
public int MaxAlternatives { get; set; }
The Click handler of the button.
[Parameter]
public EventCallback<MouseEventArgs> OnClick { get; set; }
Event that fires when the speech recognition service has disconnected.
[Parameter]
public EventCallback OnEnd { get; set; }
Event that fires when a speech recognition error occurs, providing error details.
[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.
[Parameter]
public EventCallback<SpeechToTextButtonResultEventArgs> OnResult { get; set; }
Event that fires when the speech recognition service has begun listening to incoming audio.
[Parameter]
public EventCallback OnStart { get; set; }
Specifies the roundness of the button. Default value is Full.
[Parameter]
public virtual string Rounded { get; set; }
Specifies the size of the button. Default value is Small.
[Parameter]
public string Size { get; set; }
Specifies the theme color of the button. Default value is null/>.
[Parameter]
public virtual string ThemeColor { get; set; }