INAddTasksIntentHandling
The handler interface for adding tasks to a task list.
Declaration
protocol INAddTasksIntentHandling : NSObjectProtocolOverview
Use the methods of the INAddTasksIntentHandling protocol to resolve, confirm, and handle requests to add tasks to a task list. Adopt this protocol in an object of your Intents extension that’s capable of handling the request directly or forwarding the request to your app or task management service.
Siri delivers an INAddTasksIntent object to your handler when the user asks to add tasks to a task list in your app. The provided intent object contains descriptions of the tasks and any triggers to associate with each task. Use the methods of this protocol to resolve the parameters and add the tasks.
Topics
Resolving the Intent Parameters
resolveTargetTaskList(for:with:)resolveTaskTitles(for:with:)resolveSpatialEventTrigger(for:with:)resolveTemporalEventTrigger(for:with:)resolvePriority(for:with:)resolveTargetTaskList(for:with:)resolveTemporalEventTrigger(for:with:)