The handler interface for searching the current user’s messages.
SDKs
- iOS 10.0+
- macOS 10.12+
- watchOS 3.2+
Framework
- Intents
Declaration
protocol INSearchForMessagesIntentHandling
Overview
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 that is 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.