Initializer

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

Discussion

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

See Also

Creating a Resolution Result

class func unsupported(forReason: INSnoozeTasksTaskUnsupportedReason) -> Self

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

enum INSnoozeTasksTaskUnsupportedReason

Constants that indicates the reason the app can’t support the snooze task request.