Contents

focusTrackedObject

An identifier for an instance of Avmetadatafocustrackedobject.

Declaration

static let focusTrackedObject: AVMetadataObject.ObjectType

Discussion

This metadata object type is only available when the source AVCaptureDevice’s activeFormat has AVCaptureDeviceFormat/isContinuousAutoFocusTrackingSupported equal to true. It can therefore appear and disappear from availableMetadataObjectTypes as the active format changes; observers should not assume it is statically available for the lifetime of the session.