Static AVAudioSessionModeSpokenAudio

Source
pub unsafe static AVAudioSessionModeSpokenAudio: Option<&'static AVAudioSessionMode>
Available on crate feature AVAudioSessionTypes only.
Expand description

Appropriate for applications which play spoken audio and wish to be paused (via audio session interruption) rather than ducked if another app (such as a navigation app) plays a spoken audio prompt. Examples of apps that would use this are podcast players and audio books. For more information, see the related category option AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers.

See also Apple’s documentation