Type Method

disambiguationWithTaskListsToDisambiguate:

Creates an object whose resolution requires the user to select from among the specified objects.

Declaration

+ (instancetype)disambiguationWithTaskListsToDisambiguate:(NSArray<INTaskList *> *)taskListsToDisambiguate;

Parameters

taskListsToDisambiguate

An array of INTaskList objects for the user to choose from.

Return Value

Discussion

Use this method to create a result object when more than one task list matches the given information and you cannot pick one definitively. Ask the user to select from among the task lists that you specify.

For each INTaskList object that you provide, include enough information to be able to locate that list again later. When the user selects one of the task lists, SiriKit puts the details from your INTaskList object into the intent and asks you to resolve the task list again. Therefore, you might assign a unique value to the identifier property of the task list so that you can perform a fast lookup of the selected list during the second resolution pass.

See Also

Creating a Resolution Result Object

+ successWithResolvedTaskList:

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

+ confirmationRequiredWithTaskListToConfirm:

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