Contents

AVCaptureSessionInterruptionSystemPressureStateKey

A key to retrieve a state value that indicates the system pressure level and contributing factors that caused the interruption.

Declaration

let AVCaptureSessionInterruptionSystemPressureStateKey: String

Discussion

If an interruption occurs and the value of AVCaptureSessionInterruptionReasonKey equals AVCaptureSession.InterruptionReason.videoDeviceNotAvailableDueToSystemPressure, the userInfo dictionary for the notification contains this key and a corresponding AVCaptureDevice.SystemPressureState value.

See Also

Monitoring system pressure