AIPromptSpeechToTextSettingsBuilder
Methods
IntegrationMode(System.String)
Specifies the integration mode for speech recognition. Available modes: - "webSpeech" - Uses the Web Speech API - "none" - Provides button without actual speech recognition
Parameters
value - System.String
The value for IntegrationMode
RETURNS
Returns the current AIPromptSpeechToTextSettingsBuilder instance.
Lang(System.String)
Specifies the language code for speech recognition.
Parameters
value - System.String
The value for Lang
RETURNS
Returns the current AIPromptSpeechToTextSettingsBuilder instance.
Continuous(System.Boolean)
Specifies whether to continue listening after a result is received.
Parameters
value - System.Boolean
The value for Continuous
RETURNS
Returns the current AIPromptSpeechToTextSettingsBuilder instance.
Continuous()
Specifies whether to continue listening after a result is received.
RETURNS
Returns the current AIPromptSpeechToTextSettingsBuilder instance.
InterimResults(System.Boolean)
Specifies whether to return interim results during speech recognition.
Parameters
value - System.Boolean
The value for InterimResults
RETURNS
Returns the current AIPromptSpeechToTextSettingsBuilder instance.
InterimResults()
Specifies whether to return interim results during speech recognition.
RETURNS
Returns the current AIPromptSpeechToTextSettingsBuilder instance.
MaxAlternatives(System.Double)
Specifies the maximum number of alternatives to return from speech recognition.
Parameters
value - System.Double
The value for MaxAlternatives
RETURNS
Returns the current AIPromptSpeechToTextSettingsBuilder instance.