Class

INTaskResolutionResult

A resolution result for a single task within a task list.

Declaration

class INTaskResolutionResult : INIntentResolutionResult

Overview

You return an INTaskResolutionResult object when resolving parameters containing an INTask object. Use the creation method that best reflects your ability to resolve the parameter successfully.

For additional resolution operators, see INIntentResolutionResult.

Topics

Creating a Resolution Result Object

class func success(with: INTask) -> Self

Creates an object whose resolution involves the successful matching of the specified parameter.

class func confirmationRequired(with: INTask?) -> Self

Creates an object whose resolution requires confirmation from the user before proceeding.

class func disambiguation(with: [INTask]) -> Self

Creates an object whose resolution requires the user to select from among the specified objects.

Relationships

Conforms To

See Also

Resolution Results

class INAddTasksTargetTaskListResolutionResult

A resolution result that adds tasks to a target task list.

class INDeleteTasksTaskListResolutionResult

A resolution result for deleting task lists.

class INDeleteTasksTaskResolutionResult

A resolution result for deleting tasks.

class INDateSearchTypeResolutionResult

A resolution result for the types of dates supported by a search.

class INLocationSearchTypeResolutionResult

A resolution result for location-based searches.

class INNoteResolutionResult

A resolution result for notes.

class INNoteContentResolutionResult

A resolution result for the content of notes.

class INNotebookItemTypeResolutionResult

A resolution result for the type of items to look for during a search of notes and tasks.

class INSnoozeTasksTaskResolutionResult

A resolution result for snoozing a task.

class INSpatialEventTriggerResolutionResult

A resolution result for the location-based trigger associated with a task.

class INTaskListResolutionResult

A resolution result for a list of tasks.

class INTaskStatusResolutionResult

A resolution result for the status of a task.

class INTemporalEventTriggerResolutionResult

A resolution result for the time-based trigger associated with a task.

class INTaskPriorityResolutionResult

A resolution result for the priority associated with a task.

class INNoteContentTypeResolutionResult

A resolution result for the type of data contained in notes.

Deprecated