Contents

INSearchForPhotosIntentHandling

The handler interface for searching the user’s photos.

Declaration

protocol INSearchForPhotosIntentHandling : NSObjectProtocol

Overview

Use the methods of the INSearchForPhotosIntentHandling protocol to resolve, confirm, and handle requests to search the photos in your app. Adopt this protocol in an object of your Intents extension that’s capable of performing the search and determining the number of results. Siri doesn’t display the photos found during the search. After a successful search, Siri launches your app to display the photos.

Siri delivers an INSearchForPhotosIntent object to your handler when the user asks to search their photos. The provided intent object contains the parameters to use when searching for the photos. Use the methods of this protocol to resolve the search parameters, to perform the search, and to return the number of photos that match the criteria.

Topics

Resolving the Intent Parameters

Confirming the Response

Handling the Intent

See Also

Photo Search