Class

AVCaptureMetadataInput

A capture input for providing timed metadata to a capture session.

Declaration

@interface AVCaptureMetadataInput : AVCaptureInput

Overview

This class provides input to an AVCaptureSession. An instance of AVCaptureMetadataInput can present one and only one AVCaptureInputPort connected to an AVCaptureMovieFileOutput. Provide metadata through the input port by conforming to a CMFormatDescription and supplying AVMetadataItem objects in an AVTimedMetadataGroup.

Topics

Creating Metadata Input

- initWithFormatDescription:clock:

Creates capture metadata input to provide timed groups to a capture session.

+ metadataInputWithFormatDescription:clock:

Returns a metadata input instance that allows clients to provide timed metadata groups to a capture session.

Providing Metadata

- appendTimedMetadataGroup:error:

Provides metadata to the capture session.

Relationships

Inherits From

See Also

Metadata Capture

AVCaptureMetadataOutput

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

AVMetadataFaceObject

Face information detected by a metadata capture output.

AVMetadataMachineReadableCodeObject

Barcode information detected by a metadata capture output.

AVMetadataObject

The abstract superclass for objects provided by a metadata capture output.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software