Protocol

INCreateTaskListIntentHandling

The handler interface for creating task lists.

Declaration

@protocol INCreateTaskListIntentHandling

Overview

Use the methods of the INCreateTaskListIntentHandling protocol to resolve, confirm, and handle requests to create task lists. Adopt this protocol in an object of your Intents extension that is capable of forwarding the task list information to your app or task management service.

Siri delivers an INCreateTaskListIntent object to your handler when the user asks to create a task list using your app. The provided intent object contains the details for the task list, including any initial tasks. Use the methods of this protocol to resolve the parameters and create the task list.

Topics

Resolving the Intent Parameters

- resolveTitleForCreateTaskList:withCompletion:

Resolves the title of the task list.

- resolveGroupNameForCreateTaskList:withCompletion:

Resolves the intended group for the task list.

Confirming the Response

- confirmCreateTaskList:completion:

Confirms whether you can create the task list.

Handling the Intent

- handleCreateTaskList:completion:

Handles the creation of a task list.

Required.

Relationships

Inherits From

See Also

Create Task List

INCreateTaskListIntent

A request to create a new task list.

INCreateTaskListIntentResponse

Your app’s response to a request to create a task list.