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 AVMetadataBodyObject

An abstract class that defines the interface for a metadata body object.

Beta
class AVMetadataCatBodyObject

An object representing a single detected cat body in a picture.

Beta
class AVMetadataDogBodyObject

An object representing a single detected dog body in a picture.

Beta
class AVMetadataHumanBodyObject

An object representing a single detected human body in a picture.

Beta
class AVMetadataSalientObject

An object representing a single salient area in a picture.

Beta
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