Instance Property


The delegate of the capture metadata output object.


var metadataObjectsDelegate: AVCaptureMetadataOutputObjectsDelegate? { get }


The delegate object must conform to the AVCaptureMetadataOutputObjectsDelegate protocol. The object in this property is used to process all metadata objects captured from the capture metadata output object’s connection.

To set the delegate object, you must use the setMetadataObjectsDelegate(_:queue:) method.

See Also

Receiving Captured Metadata Objects

var metadataObjectsCallbackQueue: DispatchQueue?

The dispatch queue on which to execute the delegate’s methods.

protocol AVCaptureMetadataOutputObjectsDelegate

Methods for receiving metadata produced by a metadata capture output.