Protocol

INSetTaskAttributeIntentHandling

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

Declaration

protocol INSetTaskAttributeIntentHandling

Overview

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.

Relationships

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.

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