GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder

Methods

IntegrationMode(System.String)

Specifies the integration mode for speech recognition. Available modes: - "webSpeech" - Uses the Web Speech API for browser-based speech recognition. - "none" - Provides the microphone button without actual speech recognition, useful when handling speech input manually.

Parameters

value - System.String

The value for IntegrationMode

RETURNS

Returns the current GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder instance.

Lang(System.String)

Specifies the language code for speech recognition. Uses BCP-47 language tags (e.g., "en-US", "es-ES", "fr-FR", "de-DE").

Parameters

value - System.String

The value for Lang

RETURNS

Returns the current GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder instance.

Continuous(System.Boolean)

Specifies whether to continue listening after a result is received. When true, the speech recognition continues until explicitly stopped. When false, recognition stops after the first result.

Parameters

value - System.Boolean

The value for Continuous

RETURNS

Returns the current GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder instance.

Continuous()

Specifies whether to continue listening after a result is received. When true, the speech recognition continues until explicitly stopped. When false, recognition stops after the first result.

RETURNS

Returns the current GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder instance.

InterimResults(System.Boolean)

Specifies whether to return interim results during speech recognition. When true, partial transcriptions are displayed as the user speaks, providing real-time feedback.

Parameters

value - System.Boolean

The value for InterimResults

RETURNS

Returns the current GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder instance.

InterimResults()

Specifies whether to return interim results during speech recognition. When true, partial transcriptions are displayed as the user speaks, providing real-time feedback.

RETURNS

Returns the current GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder instance.

MaxAlternatives(System.Double)

Specifies the maximum number of alternative transcriptions to return from speech recognition. Higher values provide more options but may increase processing overhead.

Parameters

value - System.Double

The value for MaxAlternatives

RETURNS

Returns the current GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsBuilder instance.