Initializer

init(taskResolutionResult:)

Creates an object whose resolution involves successfully deleting a task.

Declaration

init(taskResolutionResult: INTaskResolutionResult)

Parameters

taskResolutionResult

The value that resolves the requested parameter of the intent. This value may be different than the one specified in the intent object.

Return Value

Discussion

Use this method to create a result object when you’re able to delete a task.

See Also

Creating a Resolution Result

class func unsupported(forReason: INDeleteTasksTaskUnsupportedReason) -> Self

Creates an object whose resolution requires the user to confirm the task before continuing.

enum INDeleteTasksTaskUnsupportedReason

Constants that indicate the reason the app can’t support the delete task request.