Performs the search and returns the results.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
The intent object that contains details about the user’s request. The object’s informatin has already been resolved and confirmed by your handler object.
The handler block to execute with your response. You must execute this handler while implementing this method. This handler has no return value and takes the following parameter:
INSearchobject that contains the status of the request. You also use this object to specify the messages that matched the search parameters. This parameter must not be
For Messages Intent Response
Your implementation of this method must perform the search and return the results as part of your response object. If you are unable to perform the search, return a response object whose result code indicates the reason for the failure.