Class

INCreateTaskListIntentResponse

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

Declaration

class INCreateTaskListIntentResponse : INIntentResponse

Overview

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

You create an INCreateTaskListIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INCreateTaskListIntentHandling.

Topics

Initializing the Response Object

init(code: INCreateTaskListIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INCreateTaskListIntentResponseCode

The code indicating whether your app successfully handled the intent.

enum INCreateTaskListIntentResponseCode

Constants indicating the state of the response.

Providing the Task List

var createdTaskList: INTaskList?

The details of the task list that your app created.

Relationships

Inherits From

Conforms To

See Also

Create Task List

protocol INCreateTaskListIntentHandling

The handler interface for creating task lists.

class INCreateTaskListIntent

A request to create a new task list.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software