Contents

INSearchForPhotosIntentResponse

Your app’s response to a search for photos intent.

Declaration

class INSearchForPhotosIntentResponse

Overview

Use an INSearchForPhotosIntentResponse object to specify the results of searching the user’s photos. After performing a search using the criteria specified in the INSearchForPhotosIntent object, create an instance of this class with the results of that search. Siri communicates the status from your response to the user at appropriate times.

You create an INSearchForPhotosIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your search for photos handler object. For more information about implementing your handler object, see INSearchForPhotosIntentHandling.

Topics

Initializing the Response Object

Getting the Response Code

Accessing the Response Details

See Also

Photo Search