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


protocol INSetTaskAttributeIntentHandling


Use the methods of the INSetTaskAttributeIntentHandling protocol to resolve, confirm, and handle requests to modify the attributes of a task. SiriKit supports changing the task’s completion status and changing the location- or time-based triggers that you use to generate reminders. Adopt this protocol in an object of your Intents extension that is capable of handling the request directly or forwarding the request to your app or task management service.

Siri delivers an INSetTaskAttributeIntent object to your handler when the user asks to modify an existing task. The provided intent object contains descriptions of the tasks and the new values to apply. If a value is not provided for a given attribute, do not modify that attribute. Use the methods of this protocol to resolve the parameters and update the task.


Confirming the Response

Handling the Intent


Inherits From

See Also

Set Task Attributes

class INSetTaskAttributeIntent

A request to modify the attributes of a task.

class INSetTaskAttributeIntentResponse

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