Class

INSnoozeTasksIntentResponse

Your response to a delete tasks request.

Declaration

class INSnoozeTasksIntentResponse : INIntentResponse

Overview

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.

Topics

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.

Relationships

Inherits From

Conforms To

See Also

Snooze a Task

protocol INSnoozeTasksIntentHandling

The handler interface that snoozes tasks in a task list.

Beta
class INSnoozeTasksIntent

A request to snooze one or more tasks.

Beta

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