Contents

INGetVisualCodeIntentResponse

Your app’s response to a request for a visual code.

Declaration

class INGetVisualCodeIntentResponse

Overview

Use an INGetVisualCodeIntentResponse object to provide the visual code to display. When handling the intent, provide an image with the requested visual code. Siri communicates the details back to the user at appropriate times.

You create an INGetVisualCodeIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INGetVisualCodeIntentHandling.

Topics

Initializing the Response Object

Getting the Response Code

Providing the Code Image

See Also

Visual Codes