AVAudioSession

E759694

AVAudioSession is an iOS and macOS framework class that manages an app’s audio behavior and routing, coordinating how it interacts with the system’s audio environment.

All labels observed (1)

Label Occurrences
AVAudioSession canonical 2

How this entity was disambiguated

Statements (75)

Predicate Object
instanceOf Objective-C class
Swift API type
audio session manager
class
conformsTo NSObject
definedInFramework AVFoundation
documentationURL https://developer.apple.com/documentation/avfaudio/avaudiosession
hasMethod -overrideOutputAudioPort:error:
-requestRecordPermission:
-setActive:error:
-setActive:withOptions:error:
-setCategory:error:
-setCategory:mode:options:error:
-setPreferredIOBufferDuration:error:
-setPreferredInput:error:
-setPreferredInputNumberOfChannels:error:
-setPreferredOutputNumberOfChannels:error:
-setPreferredSampleRate:error:
hasNotification AVAudioSessionInterruptionNotification
AVAudioSessionMediaServicesWereLostNotification
AVAudioSessionMediaServicesWereResetNotification
AVAudioSessionRouteChangeNotification
AVAudioSessionSilenceSecondaryAudioHintNotification
hasProperty availableInputs
category
categoryOptions
currentRoute
inputGain
isOtherAudioPlaying
mode
outputVolume
preferredInput
sampleRate
secondaryAudioShouldBeSilencedHint
introducedIn iOS 3.0
manages interaction with Siri
interaction with other apps’ audio
interaction with phone calls
interaction with system sounds
platform iOS
iPadOS
macOS
tvOS
watchOS
primaryRole coordinate audio with system
manage app audio behavior
manage audio categories and modes
manage audio interruptions
manage audio routing
singletonAccess +sharedInstance
supports AirPlay routing
Bluetooth audio routing
background audio playback
built-in speaker routing
play-and-record audio
playback audio
receiver routing
recording audio
wired headset routing
supportsBackgroundMode audio
supportsConcurrency duckOthers option
interruptSpokenAudioAndMixWithOthers option
mixWithOthers option
typicalUsage VoIP apps
audio recording apps
game audio
music playback apps
podcast apps
usesEnum AVAudioSessionCategory
AVAudioSessionCategoryOptions
AVAudioSessionInterruptionOptions
AVAudioSessionInterruptionType
AVAudioSessionMode
AVAudioSessionPortOverride
AVAudioSessionRouteChangeReason

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

AVFoundation coreClass AVAudioSession
AVAudioRecorder relatedTo AVAudioSession