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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software