Type Method

disambiguationWithLengthsToDisambiguate:

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

Declaration

+ (instancetype)disambiguationWithLengthsToDisambiguate:(NSArray<NSMeasurement<NSUnitLength *> *> *)lengthsToDisambiguate;

Parameters

lengthsToDisambiguate

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

Return Value

A new INLengthResolutionResult object.

Discussion

Use this method to create a result object when there’s more one value that might match the given parameter. Siri prompts the user to select from among the objects you provide.

See Also

Creating a Resolution Result Objects

+ successWithResolvedLength:

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

+ confirmationRequiredWithLengthToConfirm:

Creates an object whose resolution requires that the user must confirm the value before proceeding.