Instance Method

initWithTaskResolutionResult:

Creates an object whose resolution involves successfully deleting a task.

Declaration

- (instancetype)initWithTaskResolutionResult:(INTaskResolutionResult *)taskResolutionResult;

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

+ unsupportedForReason:

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

INDeleteTasksTaskUnsupportedReason

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