Contents

AVAudioSessionInterruptionWasSuspendedKey

A user info key used to determine if the interruption is due to the audio session being deactivated when the system suspended the app.

Declaration

let AVAudioSessionInterruptionWasSuspendedKey: String

Discussion

This userInfo key is present only in AVAudioSession.InterruptionType.began interruption events, where the interruption is a direct result of the operating system suspending the app. Its associated value is a Boolean NSNumber, where a true value indicates that the interruption is due to the system suspending the app, rather than being interrupted by another audio session.

See Also

User Info Keys