Class

INSearchForNotebookItemsIntentResponse

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

Declaration

@interface INSearchForNotebookItemsIntentResponse : INIntentResponse

Overview

Use an INSearchForNotebookItemsIntentResponse object to return the search results requested by the user. Siri communicates the information from your response to the user at appropriate times.

You create an INSearchForNotebookItemsIntentResponse object in the confirmSearchForNotebookItems:completion: and handleSearchForNotebookItems:completion: methods of your handler object. For more information about implementing your handler object, see INSearchForNotebookItemsIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether your app successfully handled the intent.

INSearchForNotebookItemsIntentResponseCode

Constants indicating the state of the response.

Specifying the Search Results

notes

The notes found by the search.

taskLists

The task lists found by the search.

tasks

The individual tasks found by the search.

sortType

An indicator of how you sorted the search results.

INSortType

Constants indicating how the intent sorted the search results.

Relationships

Inherits From

See Also

Search for Notebook Items

INSearchForNotebookItemsIntentHandling

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

INSearchForNotebookItemsIntent

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