Global Variable

AVAudioSessionInterruptionTypeKey

A user info key that’s used to retrieve the interruption type.

Declaration

let AVAudioSessionInterruptionTypeKey: String

Discussion

The value for this key is an NSNumber object containing an unsigned integer that identifies the type of interruption. For a list of possible values, see AVAudioSession.InterruptionType.

See Also

User Info Keys

let AVAudioSessionInterruptionOptionKey: String

A user info key that’s used to retrieve the interruption option.

let AVAudioSessionInterruptionWasSuspendedKey: String

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