Protocol

INDeleteTasksIntentHandling

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

Declaration

@protocol INDeleteTasksIntentHandling

Overview

Use the methods of the INDeleteTasksIntentHandling protocol to resolve, confirm, and handle requests to delete tasks from a task list. Adopt this protocol in an object of your Intents extension capable of handling the request directly or forwarding the request to your app or task management service.

Siri delivers an INDeleteTasksIntent object to your handler when the user asks to delete tasks from a task list in your app. The provided intent object contains descriptions of the tasks and any triggers to associate with each task. Use the methods of this protocol to resolve the parameters and delete the tasks.

Topics

Resolving Details of the Intent

- resolveTaskListForDeleteTasks:withCompletion:

Resolves the task list from which to delete tasks.

Confirming the Response

- confirmDeleteTasks:completion:

Validates whether you can delete the task.

Handling the Intent

- handleDeleteTasks:completion:

Handles deleting a task.

Required.

Relationships

Inherits From

See Also

Delete a Task

INDeleteTasksIntent

A request to delete one or more tasks.

INDeleteTasksIntentResponse

Your response to a request to delete tasks.