Contents

wasInterruptedNotification

A notification the system posts when it interrupts a capture session.

Declaration

class let wasInterruptedNotification: NSNotification.Name

Discussion

Retrieve the underlying error from the notification’s user information dictionary using the key AVCaptureSessionInterruptionReasonKey.

Topics

User-infomation keys

See Also

Observing session state