AudioRoutingConfig class
Full wake-word audio routing configuration.
Constructors
- AudioRoutingConfig({required RouteConfigEntry defaultRoute, RouteConfigEntry? carAudio, RouteConfigEntry? builtInReceiver, RouteConfigEntry? builtInSpeaker, RouteConfigEntry? bluetoothA2DP, RouteConfigEntry? bluetoothHFP, RouteConfigEntry? headphones, PlaybackRoutingConfig? whenPlayingAudio, STTDuckingConfig? sttDuckingConfig, AECConfig? aec, WakewordAECConfig? wakewordAEC, WakeWordDuringTTSConfig? wakeWordDuringTTS})
-
Creates an audio routing configuration.
const
Properties
- aec → AECConfig?
-
App-wide echo cancellation policy. When set, native code ignores the
older wakewordAEC setting.
final
- bluetoothA2DP → RouteConfigEntry?
-
Bluetooth A2DP output route config.
final
- bluetoothHFP → RouteConfigEntry?
-
Bluetooth HFP output route config.
final
- builtInReceiver → RouteConfigEntry?
-
Built-in receiver output route config.
final
- builtInSpeaker → RouteConfigEntry?
-
Built-in speaker output route config.
final
- carAudio → RouteConfigEntry?
-
CarPlay/car audio output route config.
final
- defaultRoute → RouteConfigEntry
-
Default route config.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headphones → RouteConfigEntry?
-
Headphones output route config.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sttDuckingConfig → STTDuckingConfig?
-
Audio routing overrides applied while STT pauses and resumes.
final
- wakewordAEC → WakewordAECConfig?
-
Echo-cancellation preferences for wake-word capture.
final
- wakeWordDuringTTS → WakeWordDuringTTSConfig?
-
Detector sensitivity used while physical TTS playback is active.
final
- whenPlayingAudio → PlaybackRoutingConfig?
-
Temporary policies owned by native playback and recognition lifecycles.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this config to the JSON-compatible map expected by native iOS.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited