Barcode information detected by a metadata capture output.
- iOS 7.0+
- macOS 10.15+Beta
- Mac Catalyst 13.0+Beta
AVMetadataMachineReadableCodeObject class is a concrete subclass of
AVMetadataObject defining the features of a detected one-dimensional or two-dimensional barcode.
AVMetadataMachineReadableCodeObject instance represents a single detected machine readable code in an image. It is 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.
Getting Machine Readable Code Values
The points defining the (x, y) locations of the corners.
A barcode description for use in Core Image.
Returns the error-corrected data decoded into a human-readable string.
The abstract superclass for objects provided by a metadata capture output.
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