Contents

device

The device for which the coordinator configures the preview layer.

Declaration

weak var device: AVCaptureDevice? { get }

Discussion

The value of this property is the AVCaptureDevice instance you provided when instantiating the configurator. AVCaptureExternalDisplayConfigurator holds a weak reference to the device. If the device is released, this property returns nil.

See Also

Inspecting the configurator