<!--
{
  "availability" : [
    "iOS: 11.0.0 - 15.0.0",
    "iPadOS: 11.0.0 - 15.0.0",
    "macCatalyst: 13.1.0 - 15.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 4.0.0 - 8.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INGetVisualCodeIntentHandling",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INGetVisualCodeIntentHandling"
  },
  "title" : "INGetVisualCodeIntentHandling"
}
-->

# INGetVisualCodeIntentHandling

The handler interface for displaying your app’s visual codes.

```
protocol INGetVisualCodeIntentHandling : NSObjectProtocol
```

## Overview

Use the methods of the [`INGetVisualCodeIntentHandling`](/documentation/Intents/INGetVisualCodeIntentHandling) protocol to resolve, confirm, and handle requests to display visual codes such as QR codes. Adopt this protocol in an object of your Intents extension that’s capable of displaying an image representing the code.

Siri delivers an [`INGetVisualCodeIntent`](/documentation/Intents/INGetVisualCodeIntent) object to your handler when the user asks your app to display a relevant visual code. The provided intent object contains information about the type of code to display. Use the methods of this protocol to resolve the account information and display the corresponding image.

## Topics

### Resolving the Intent Parameters

[`resolveVisualCodeType(for:with:)`](/documentation/Intents/INGetVisualCodeIntentHandling/resolveVisualCodeType(for:with:))

Resolves the type of code requested by the user.

### Confirming the Response

[`confirm(intent:completion:)`](/documentation/Intents/INGetVisualCodeIntentHandling/confirm(intent:completion:))

Confirms whether you can provide the requested visual code.

### Handling the Intent

[`handle(intent:completion:)`](/documentation/Intents/INGetVisualCodeIntentHandling/handle(intent:completion:))

Handles providing the image for the specified visual code.



---

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)