Class

INAddTasksIntentResponse

Your response to a request to add tasks to a task list.

Declaration

@interface INAddTasksIntentResponse : INIntentResponse

Overview

Use an INAddTasksIntentResponse object to return information about the task list that you created. Siri communicates the information from your response to the user at appropriate times.

You create an INAddTasksIntentResponse object in the confirmAddTasks:completion: and handleAddTasks:completion: methods of your handler object. For more information about implementing your handler object, see INAddTasksIntentHandling.

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 you successfully handled the intent.

INAddTasksIntentResponseCode

Constants indicating the state of the response.

Providing the Task Information

addedTasks

The tasks that you added to the task list.

modifiedTaskList

The task list that you modified.

Relationships

Inherits From

See Also

Add Task

INAddTasksIntentHandling

The handler interface for adding tasks to a task list.

INAddTasksIntent

A request to add tasks to a task list.