<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.4.0 - 10.15.0",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImageCaptureCore",
  "identifier" : "/documentation/ImageCaptureCore/ICCameraItem/metadataIfAvailable",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "ImageCaptureCore"
    ],
    "preciseIdentifier" : "c:objc(cs)ICCameraItem(py)metadataIfAvailable"
  },
  "title" : "metadataIfAvailable"
}
-->

# metadataIfAvailable

The item’s metadata if it is readily available.

```
var metadataIfAvailable: [String : Any]? { get }
```

## Discussion

If metadata is not readily available, accessing this property will send a message to the device requesting metadata for the file. The delegate of the device will be notified via method [`cameraDevice(_:didReceiveMetadataFor:)`](/documentation/ImageCaptureCore/ICCameraDeviceDelegate/cameraDevice(_:didReceiveMetadataFor:)), if this method is implemented by the delegate. Execution of the delegate callback will occur on the main thread.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)