Type Method

confirmationRequired(with:)

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

Declaration

class func confirmationRequired(with taskStatusToConfirm: INTaskStatus) -> Self

Parameters

valueToConfirm

The value that resolves the request but must be confirmed by the user.

Return Value

Discussion

Use this method when you cannot handle the intent using the specified task status but can handle it using a different status and want to confirm with the user before proceeding.

See Also

Creating a Resolution Result Object

class func success(with: INTaskStatus) -> Self

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