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.

class AVMetadataCatBodyObject

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

class AVMetadataDogBodyObject

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

class AVMetadataHumanBodyObject

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

class AVMetadataSalientObject

An object representing a single salient area in a picture.

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.