---
title: INSearchForNotebookItemsIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/insearchfornotebookitemsintentresponse
---

# INSearchForNotebookItemsIntentResponse

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

## Declaration

```swift
class INSearchForNotebookItemsIntentResponse
```

## Overview

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 confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INSearchForNotebookItemsIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/insearchfornotebookitemsintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/insearchfornotebookitemsintentresponse/code.md)
- [INSearchForNotebookItemsIntentResponseCode](intents/insearchfornotebookitemsintentresponsecode.md)

### Specifying the Search Results

- [notes](intents/insearchfornotebookitemsintentresponse/notes.md)
- [taskLists](intents/insearchfornotebookitemsintentresponse/tasklists.md)
- [tasks](intents/insearchfornotebookitemsintentresponse/tasks.md)
- [sortType](intents/insearchfornotebookitemsintentresponse/sorttype.md)
- [INSortType](intents/insorttype.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Notebook Search

- [INSearchForNotebookItemsIntentHandling](intents/insearchfornotebookitemsintenthandling.md)
- [INSearchForNotebookItemsIntent](intents/insearchfornotebookitemsintent.md)
