AVAudioSession.Category
Audio session category identifiers.
Declaration
struct CategoryDiscussion
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.