An interface that handles requests to search the current user’s messages.
- iOS 10.0+
- Mac Catalyst 13.0+
- watchOS 3.2+
Use the methods of the
INSearch protocol to resolve, confirm, and handle requests to search the current user’s messages. Adopt this protocol in an object of your Intents extension capable of searching your app’s messages.
Siri delivers an
INSearch object to your handler when the user asks to search their messages. The provided intent object contains the search parameters to use when matching messages. Use the methods of this protocol to resolve the search parameters, to perform the search, and to return the results.