AppAudioProcessingConfig class

Constructors

AppAudioProcessingConfig({Input<AppAudioProcessingConfigAmbientSoundConfig?>? ambientSoundConfig, Input<AppAudioProcessingConfigBargeInConfig?>? bargeInConfig, Input<String?>? inactivityTimeout, Input<List<AppAudioProcessingConfigSynthesizeSpeechConfig>?>? synthesizeSpeechConfigs})
Creates a new AppAudioProcessingConfig. ambientSoundConfig Configuration for the ambient sound to be played with the synthesized agent bargeInConfig Configuration for how the user barge-in activities should be handled. inactivityTimeout The duration of user inactivity (no speech or interaction) before the agent synthesizeSpeechConfigs Configuration of how the agent response should be synthesized, mapping from
const
AppAudioProcessingConfig.fromMap(Map<String, dynamic> map)
factory

Properties

ambientSoundConfig → Input<AppAudioProcessingConfigAmbientSoundConfig?>?
Configuration for the ambient sound to be played with the synthesized agent response, to enhance the naturalness of the conversation. Structure is documented below.
final
bargeInConfig → Input<AppAudioProcessingConfigBargeInConfig?>?
Configuration for how the user barge-in activities should be handled. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
inactivityTimeout → Input<String?>?
The duration of user inactivity (no speech or interaction) before the agent prompts the user for reengagement. If not set, the agent will not prompt the user for reengagement.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
synthesizeSpeechConfigs → Input<List<AppAudioProcessingConfigSynthesizeSpeechConfig>?>?
Configuration of how the agent response should be synthesized, mapping from the language code to SynthesizeSpeechConfig. If the configuration for the specified language code is not found, the configuration for the root language code will be used. For example, if the map contains "en-us" and "en", and the specified language code is "en-gb", then "en" configuration will be used. Note: Language code is case-insensitive. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited