requestMetadataDictionary(options:completion:)
Requests metadata and executes the completion block in place of the delegate.
Declaration
func requestMetadataDictionary(options: [ICCameraItemMetadataOption : Any]? = nil, completion: @escaping @Sendable ([AnyHashable : Any]?, (any Error)?) -> Void)func requestMetadataDictionary(options: [ICCameraItemMetadataOption : Any]? = nil) async throws -> [AnyHashable : Any]Discussion
The completion block executes on an any available queue; often this is not the main queue.