Protocol

INSearchForNotebookItemsIntentHandling

The handler interface for searching for notes, tasks, and reminders.

Declaration

protocol INSearchForNotebookItemsIntentHandling

Overview

Use the methods of the INSearchForNotebookItemsIntentHandling 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 INSearchForNotebookItemsIntent 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.

Topics

Resolving the Intent Parameters

func resolveTitle(for: INSearchForNotebookItemsIntent, with: (INSpeakableStringResolutionResult) -> Void)

Resolves the string to use when searching the title of notes, tasks, or reminders.

Handling the Intent

Relationships

Inherits From

See Also

Search for Notebook Items

class INSearchForNotebookItemsIntent

A request to search for notes, tasks, and reminders.

class INSearchForNotebookItemsIntentResponse

Your app’s response to a request to search for notes, tasks, or reminders.