Audio Session Modes

Mode identifiers for audio sessions, used to set the session's mode property.

Overview

While categories set the base behaviors for your app, modes are used to specialize the behavior of an audio session category.

Topics

Constants

AVAudioSessionModeDefault

The default audio session mode.

AVAudioSessionModeVoiceChat

Specify this mode if your app is performing two-way voice communication, such as using Voice over Internet Protocol (VoIP).

AVAudioSessionModeVideoChat

Specify this mode if your app is engaging in online video conferencing.

AVAudioSessionModeGameChat

This mode is set by Game Kit on behalf of an application that uses Game Kit's voice chat service.

AVAudioSessionModeVideoRecording

Specify this mode if your app is recording a movie.

AVAudioSessionModeMeasurement

Specify this mode if your app is performing measurement of audio input or output.

AVAudioSessionModeMoviePlayback

Specify this mode if your app is playing back movie content.

AVAudioSessionModeSpokenAudio

A mode used for continuous spoken audio when you want to pause your audio when another app plays a short amount of spoken audio.