AVCaptureSessionInterruptionReasonKey

Static AVCaptureSessionInterruptionReasonKey 

Source
pub unsafe static AVCaptureSessionInterruptionReasonKey: &'static NSString
Available on crate feature AVCaptureSession only.
Expand description

The key used to provide an NSNumber describing the interruption reason in an AVCaptureSessionWasInterruptedNotification.

AVCaptureSessionInterruptionReasonKey may be found in the userInfo dictionary provided with an AVCaptureSessionWasInterruptedNotification. The NSNumber associated with the notification tells you why the interruption occurred.

See also Apple’s documentation