---
title: "queryImage(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterotasoftwareupdateprovider-2vync/queryimage(with:completionhandler:)"
---

# queryImage(with:completionHandler:)

## Declaration

```swift
func queryImage(with params: MTROtaSoftwareUpdateProviderClusterQueryImageParams, completionHandler: @escaping @Sendable (MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams?, (any Error)?) -> Void)
```

```swift
func queryImage(with params: MTROtaSoftwareUpdateProviderClusterQueryImageParams) async throws -> MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams
```
