Contents

captureSession

The underlying capture session.

Declaration

final var captureSession: AVCaptureSession { get }

Discussion

This property’s value is the new capture session created by providerWithSession(from:compatibleWith:priority:) or the existing capture session passed to provider(from:in:compatibleWith:priority:) or the initializer.

Use the methods of AVCaptureSession to start, stop, or manage the capture session.

See Also

Working with a capture session