init(taskResolutionResult:)
Creates an object whose resolution involves successfully snoozing 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
A new INSnoozeTasksTaskResolutionResult object.
Discussion
Use this method to create a result object when you’re able to snooze a task.