---
title: "requestMetadataDictionary(options:completion:)"
framework: imagecapturecore
role: symbol
role_heading: Instance Method
path: "imagecapturecore/iccamerafile/requestmetadatadictionary(options:completion:)"
---

# requestMetadataDictionary(options:completion:)

Requests metadata and executes the completion block in place of the delegate.

## Declaration

```swift
func requestMetadataDictionary(options: [ICCameraItemMetadataOption : Any]? = nil, completion: @escaping @Sendable ([AnyHashable : Any]?, (any Error)?) -> Void)
```

```swift
func requestMetadataDictionary(options: [ICCameraItemMetadataOption : Any]? = nil) async throws -> [AnyHashable : Any]
```

## Discussion

Discussion The completion block executes on an any available queue; often this is not the main queue.
