mode
The current audio session’s mode.
Declaration
var mode: AVAudioSession.Mode { get }Discussion
The audio session mode, together with the audio session category, indicates to the system how you intend to use audio in your app. You can use a mode to configure the audio system for specific use cases such as video recording, voice or video chat, or audio analysis.
AVAudioSession.Mode discusses the values available for this property. The default value is default.