pub unsafe static AVCaptureSessionWasInterruptedNotification: &'static NSNotificationNameAvailable on crate feature
AVCaptureSession only.Expand description
Posted when an instance of AVCaptureSession becomes interrupted.
Clients may observe the AVCaptureSessionWasInterruptedNotification to know when an instance of AVCaptureSession has been interrupted, for example, by an incoming phone call, or alarm, or another application taking control of needed hardware resources. When appropriate, the AVCaptureSession instance will stop running automatically in response to an interruption.
Beginning in iOS 9.0, the AVCaptureSessionWasInterruptedNotification userInfo dictionary contains an AVCaptureSessionInterruptionReasonKey indicating the reason for the interruption.
See also Appleās documentation