AVMetadataObject
The abstract superclass for objects provided by a metadata capture output.
Declaration
class AVMetadataObjectOverview
The AVMetadataObject class is an abstract class that defines the basic properties associated with a piece of metadata. These attributes reflect information either about the metadata itself or the media from which the metadata originated. Subclasses are responsible for providing appropriate values for each of the relevant properties.
You shouldn’t subclass AVMetadataObject directly. Instead, you use one of the defined subclasses provided by the AVFoundation framework. Similarly, you don’t create instances of this class yourself but use an AVCaptureMetadataOutput object to retrieve them from the captured data.