AudioSessionConfiguration.speech constructor
AudioSessionConfiguration.speech()
Creates a configuration suitable for speech playback
Implementation
factory AudioSessionConfiguration.speech() {
return AudioSessionConfiguration(
contentType: AudioContentType.speech,
focusStrategy: AudioFocusStrategy.gainAndPauseOthers,
pauseWhenDucked: true,
);
}