The handler interface for searching for notes, tasks, and reminders.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
Framework
- Intents
Declaration
@protocol INSearchForNotebookItemsIntentHandling
Overview
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.