Class

AVCaptureMetadataInput

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

Declaration

class AVCaptureMetadataInput : AVCaptureInput

Overview

This class provides input to an AVCaptureSession. An instance of AVCaptureMetadataInput can present one and only one AVCaptureInput.Port 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

init(formatDescription: CMMetadataFormatDescription, clock: CMClock)

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

Providing Metadata

func append(AVTimedMetadataGroup)

Provides metadata to the capture session.

Relationships

Inherits From

Conforms To

See Also

Metadata Capture

class AVCaptureMetadataOutput

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

class AVMetadataFaceObject

Face information detected by a metadata capture output.

class AVMetadataMachineReadableCodeObject

Barcode information detected by a metadata capture output.

class 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