Contents

activePrimaryConstituent

A virtual device’s active primary constituent device.

Declaration

var activePrimaryConstituent: AVCaptureDevice? { get }

Discussion

The primary constituent device may change when zoom, exposure, or focus changes. The value is nil for nonvirtual devices.

This property is key-value observable.

See Also

Restricting camera switching