Contents

spokenAudio

A mode used for continuous spoken audio to pause the audio when another app plays a short audio prompt.

Declaration

static let spokenAudio: AVAudioSession.Mode

Discussion

This mode is appropriate for apps that play continuous spoken audio, such as podcasts or audio books. Setting this mode indicates that your app should pause, rather than duck, its audio if another app plays a spoken audio prompt. After the interrupting app’s audio ends, you can resume your app’s audio playback.

See Also

Getting Standard Session Modes