Structure

AVAudioSession.Mode

No overview available.

Declaration

struct Mode

Topics

Type Properties

static let `default`: AVAudioSession.Mode

The default audio session mode.

static let gameChat: AVAudioSession.Mode

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

static let measurement: AVAudioSession.Mode

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

static let moviePlayback: AVAudioSession.Mode

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

static let spokenAudio: AVAudioSession.Mode

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

static let videoChat: AVAudioSession.Mode

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

static let videoRecording: AVAudioSession.Mode

Specify this mode if your app is recording a movie.

static let voiceChat: AVAudioSession.Mode

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

Relationships