The handler interface for searching for notes, tasks, and reminders.
- iOS 11.0+
- UIKit for Mac 13.0+Beta
- watchOS 4.0+
Use the methods of the
INSearch protocol to resolve, confirm, and handle requests to search for notes, tasks, and reminders in your app’s content. Adopt this protocol in an object of your Intents extension that’s capable of performing the search and returning the search results to SiriKit.
Siri delivers an
INSearch object to your handler when the user asks to search for items in your app. The provided intent object contains the search parameters provided by the user. Use the methods of this protocol to resolve the parameters and return the search results.