Your response to a delete tasks request.


class INSnoozeTasksIntentResponse : INIntentResponse


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

You create an INSnoozeTasksIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INSnoozeTasksIntentHandling.


Initializing the Response Object

init(code: INSnoozeTasksIntentResponseCode, userActivity: NSUserActivity?)

Initializes the response object with the specified code and user activity object.

Getting the Response Code

var code: INSnoozeTasksIntentResponseCode

The code that indicates whether you successfully handled the intent.

enum INSnoozeTasksIntentResponseCode

Constants that indicate the response state.

Accessing the Response Details

var snoozedTasks: [INTask]?

An array of tasks to snooze.


Inherits From

Conforms To

See Also

Snooze a Task

protocol INSnoozeTasksIntentHandling

The handler interface that snoozes tasks in a task list.

class INSnoozeTasksIntent

A request to snooze one or more tasks.