Handles searching the photos and returning the number of results.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
The intent object containing details about the user’s request. The information in this object has already been resolved and confirmed by your handler object.
The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:
INSearchobject you create to report the status of the request. You also use this object to specify the number of photos that matched the search parameters. This parameter must not be
For Photos Intent Response
Your implementation of this method must perform the search and return the number of matching photos in the response. If you are unable to perform the search, return a response object whose result code indicates the reason for the failure. Upon returning a successful response, Siri launches your display the photos.