Class

AVCaptureMetadataOutput

A capture output for processing timed metadata produced by a capture session.

Overview

An AVCaptureMetadataOutput object intercepts metadata objects emitted by its associated capture connection and forwards them to a delegate object for processing. You can use instances of this class to process specific types of metadata included with the input data. You use this class the way you do other output objects, typically by adding it as an output to an AVCaptureSession object.

Symbols

Accessing the Delegate and Callback Queue

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.

Accessing the Metadata Items

var availableMetadataObjectTypes: [Any]!

An array of strings identifying the types of metadata objects that can be captured.

var metadataObjectTypes: [Any]!

An array of strings identifying the types of metadata objects to process.

var rectOfInterest: CGRect

A rectangle of interest for limiting the search area for visual metadata.

Relationships

Inherits From