INGetVisualCodeIntentHandling
The handler interface for displaying your app’s visual codes.
Declaration
protocol INGetVisualCodeIntentHandling : NSObjectProtocolOverview
Use the methods of the 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 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.