Contents

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