Instance Property

virtualDeviceConstituentPhotoDeliveryEnabledDevices

The constituent devices for which the virtual device should deliver photos.

Declaration

var virtualDeviceConstituentPhotoDeliveryEnabledDevices: [AVCaptureDevice] { get set }

Discussion

You can opt in to constituent-device photo delivery by setting this property to any subset of the devices in the virtual device’s constituentDevices array. The framework calls your photoOutput(_:didFinishProcessingPhoto:error:)callback once for each of the devices you include in the array.

You may only set this property to a non-nil array if you’ve set your photo output’s isVirtualDeviceConstituentPhotoDeliveryEnabled property to true, and your delegate implements the photoOutput(_:didFinishProcessingPhoto:error:) method.

The default value of this property is an empty array.

See Also

Configuring Photo Settings

var flashMode: AVCaptureDevice.FlashMode

A setting for whether to fire the flash when capturing photos.

var isAutoRedEyeReductionEnabled: Bool

A Boolean value that determines whether to use auto red-eye reduction on flash captures.

var isHighResolutionPhotoEnabled: Bool

A Boolean value that specifies whether to capture still images at the highest resolution supported by the active device and format.

var isCameraCalibrationDataDeliveryEnabled: Bool

A Boolean value that determines whether a dual photo capture also delivers camera calibration data.

var photoQualityPrioritization: AVCapturePhotoOutput.QualityPrioritization

A setting that indicates how to prioritize photo quality against speed of photo delivery.

var isAutoVirtualDeviceFusionEnabled: Bool

A Boolean value that specifies whether to use automatic virtual-device image fusion.

var isAutoStillImageStabilizationEnabled: Bool

A Boolean value that specifies whether captures use automatic image stabilization.

Deprecated
var isAutoDualCameraFusionEnabled: Bool

A Boolean value that specifies whether captures automatically combine data from a dual camera device.

Deprecated
var isDualCameraDualPhotoDeliveryEnabled: Bool

A Boolean value that determines whether a dual camera device delivers images from both cameras.

Deprecated