Language

AVCaptureVideoPreviewLayer.InitMode Enum

Definition

Enumerates values that specify the presence or absence of a capture session connection.

public enum AVCaptureVideoPreviewLayer.InitMode
type AVCaptureVideoPreviewLayer.InitMode = 
Inheritance
AVCaptureVideoPreviewLayer.InitMode

Fields

Name Value Description
WithConnection 0

Creates the preview layer with a connection to the capture session.

WithNoConnection 1

Creates the preview layer without a connection to the capture session.

Applies to