disambiguation(with:)

disambiguation(with:)

disambiguation(with:) Type Method of INSpeakableStringResolutionResult Creates an object whose resolution requires the user to select from among the specified objects.

class func disambiguation(with stringsToDisambiguate: [INSpeakableString]) -> Self

Parameters

stringsToDisambiguate

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

Return Value

A new INSpeakableStringResolutionResult object.

Discussion

Use this method to create a result object when there is more one value that might match the given parameter. The user is asked to select from among the objects you provide.