Class

INDeleteTasksIntentResponse

Your response to a request to delete tasks.

Declaration

@interface INDeleteTasksIntentResponse : INIntentResponse

Overview

Use an INDeleteTasksIntentResponse object to return information about your attempt to delete an existing task. Siri communicates the information from your response to the user at appropriate times.

You create an INDeleteTasksIntentResponse object in the confirmDeleteTasks:completion: and handleDeleteTasks:completion: methods of your handler object. For more information about implementing your handler object, see INDeleteTasksIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

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

Accessing the Deleted Tasks

deletedTasks

An array of tasks to delete.

Getting the Response Code

code

The code that indicates whether you successfully handled the intent.

INDeleteTasksIntentResponseCode

Constants that indicate the response state.

Relationships

Inherits From

See Also

Delete a Task

INDeleteTasksIntentHandling

An interface that handles requests to delete tasks from a task list.

INDeleteTasksIntent

A request to delete one or more tasks.