Instance Property

session

The previewed capture session.

Declaration

var session: AVCaptureSession? { get set }

See Also

Session Configuration

var connection: AVCaptureConnection?

The capture connection describing the AVCaptureInputPort to which the preview layer is connected.

func setSessionWithNoConnection(AVCaptureSession)

Attaches the layer to a given session without implicitly forming a connection.