Methods for receiving metadata produced by a metadata capture output.


protocol AVCaptureMetadataOutputObjectsDelegate


The AVCaptureMetadataOutputObjectsDelegate protocol must be adopted by the delegate of an AVCaptureMetadataOutput object. The single method in this protocol is optional. The method allows a delegate to respond when a capture metadata output object receives relevant metadata objects through its connection.

The AVCaptureMetadataOutput object calls the methods of the delegate object on the dispatch queue associated with its metadataObjectsCallbackQueue property.


Processing Emitted Metadata Objects

func metadataOutput(AVCaptureMetadataOutput, didOutput: [AVMetadataObject], from: AVCaptureConnection)

Informs the delegate that the capture output object emitted new metadata objects.


Inherits From

See Also

Receiving Captured Metadata Objects

var metadataObjectsDelegate: AVCaptureMetadataOutputObjectsDelegate?

The delegate of the capture metadata output object.

var metadataObjectsCallbackQueue: DispatchQueue?

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