Protocol

INSnoozeTasksIntentHandling

The handler interface that snoozes tasks in a task list.

Declaration

@protocol INSnoozeTasksIntentHandling

Overview

Use the methods of the INSnoozeTasksIntentHandling protocol to resolve, confirm, and handle requests to snooze tasks in a task list. Adopt this protocol in an object of your Intents extension capable of handling the request directly or forwarding the request to your app or task management service.

Siri delivers an INSnoozeTasksIntent object to your handler when the user asks to snooze tasks in 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 snooze the tasks.

Topics

Resolving Details of the Intent

- resolveNextTriggerTimeForSnoozeTasks:withCompletion:

Resolves the trigger of when to snooze tasks.

Confirming the Response

- confirmSnoozeTasks:completion:

Confirms whether you can snooze the task.

Handling the Intent

- handleSnoozeTasks:completion:

Handles snoozing a task.

Required.

Relationships

Inherits From

See Also

Snooze a Task

INSnoozeTasksIntent

A request to snooze one or more tasks.

INSnoozeTasksIntentResponse

Your response to a delete tasks request.