Global Variable

AVCaptureSessionRuntimeErrorNotification

Posted if an error occurred during a capture session.

Declaration

NSString *const AVCaptureSessionRuntimeErrorNotification;

Discussion

You retrieve the underlying error from the notification’s user info dictionary using the key AVCaptureSessionErrorKey.

See Also

Managing Running State

- startRunning

Tells the receiver to start running.

- stopRunning

Tells the receiver to stop running.

running

Indicates whether the receiver is running.

interrupted

Indicates whether the receiver has been interrupted.

AVCaptureSessionDidStartRunningNotification

Posted when a capture session starts.

AVCaptureSessionDidStopRunningNotification

Posted when a capture session stops.

AVCaptureSessionWasInterruptedNotification

Posted if a capture session is interrupted.

AVCaptureSessionInterruptionEndedNotification

Posted if an interruption to a capture session finishes.

AVCaptureSessionErrorKey

Key to retrieve the error object from a AVCaptureSessionRuntimeErrorNotification user info dictionary.

AVCaptureSessionInterruptionReasonKey

Key to retrieve information about a capture interruption from a AVCaptureSessionWasInterruptedNotification user info dictionary.

AVCaptureSessionInterruptionSystemPressureStateKey

The key for retrieving information about system pressure factors that caused a capture session interruption.

AVCaptureSessionInterruptionReason

Constants identifying the reason a capture session was interrupted, found in an AVCaptureSessionWasInterruptedNotification user info dictionary.