Class

AVMetadataMachineReadableCodeObject

Barcode information detected by a metadata capture output.

Declaration

@interface AVMetadataMachineReadableCodeObject : AVMetadataObject

Overview

The AVMetadataMachineReadableCodeObject class is a concrete subclass of AVMetadataObject defining the features of a detected one-dimensional or two-dimensional barcode.

An AVMetadataMachineReadableCodeObject instance represents a single detected machine readable code in an image.  It’s an immutable object describing the features and payload of a barcode.

On supported platforms, the AVCaptureMetadataOutput class outputs arrays of detected machine readable code objects.

Topics

Getting Machine Readable Code Values

corners

The points defining the (x, y) locations of the corners.

descriptor

A barcode description for use in Core Image.

stringValue

Returns the error-corrected data decoded into a human-readable string.

Constants

Machine-Readable Object Types

Constants used to specify the type of barcode to scan.

Relationships

Inherits From

See Also

Metadata Capture

AVMetadataBodyObject

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

AVMetadataCatBodyObject

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

AVMetadataDogBodyObject

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

AVMetadataHumanBodyObject

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

AVMetadataSalientObject

An object representing a single salient area in a picture.

AVCaptureMetadataInput

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

AVCaptureMetadataOutput

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

AVMetadataFaceObject

Face information detected by a metadata capture output.

AVMetadataObject

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