Class

INSetTaskAttributeIntentResponse

Your response to a request to modify the attributes of an existing task.

Declaration

@interface INSetTaskAttributeIntentResponse : INIntentResponse

Overview

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

You create an INSetTaskAttributeIntentResponse object in the confirmSetTaskAttribute:completion: and handleSetTaskAttribute:completion: methods of your handler object. For more information about implementing your handler object, see INSetTaskAttributeIntentHandling.

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.

INSetTaskAttributeIntentResponseCode

Constants indicating the state of the response.

Providing the Task Details

modifiedTask

The modified task.

Relationships

Inherits From

See Also

Set Task Attributes

INSetTaskAttributeIntentHandling

The handler interface for updating the attributes of an existing task.

INSetTaskAttributeIntent

A request to modify the attributes of a task.