Enumeration

Interruption Flags

Constants that indicate the state of the audio session following an interruption.

Declaration

iOS, Mac Catalyst
enum : unsigned int {
    ...
};
macOS, tvOS, watchOS
enum : unsigned int;

Topics

Constants

AVAudioSessionInterruptionFlags_ShouldResume

Indicates that your audio session is active and ready for use.

Deprecated

See Also

Responding to Audio Session Notifications

Responding to Audio Session Interruptions

Observe audio session notifications to ensure that your app responds appropriately to interruptions.

Responding to Audio Session Route Changes

Observe audio session notifications to ensure that your app responds appropriately to route changes.

AVAudioSessionInterruptionNotification

A notification that’s posted when an audio interruption occurs.

AVAudioSessionRouteChangeNotification

A notification that’s posted when the system’s audio route changes.

AVAudioSessionSilenceSecondaryAudioHintNotification

A notification that’s posted when the primary audio from other applications starts and stops.

AVAudioSessionMediaServicesWereLostNotification

A notification that’s posted when the system terminates the media server.

AVAudioSessionMediaServicesWereResetNotification

A notification that’s posted when the media server restarts.