Contents

AVAudioSession.Category

Audio session category identifiers.

Declaration

struct Category

Discussion

An audio session category defines a set of audio behaviors. Choose a category that most accurately describes the audio behavior you require.

Supporting AirPlay

The playback-only categories (ambient, soloAmbient, and playback) support both the mirrored and nonmirrored variants of AirPlay.

The audio session category playAndRecord supports only the mirrored variant of AirPlay, while the record and multiRoute categories don’t allow routing to AirPlay.

Topics

Creating a Category

Getting Standard Categories

See Also

Inspecting the category configuration