Type Method

disambiguation(with:)

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

Declaration

class func disambiguation(with massToDisambiguate: [Measurement<UnitMass>]) -> Self

Parameters

massToDisambiguate

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

Return Value

A new INMassResolutionResult 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 Object

class func success(with: Measurement<UnitMass>) -> Self

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

class func confirmationRequired(with: Measurement<UnitMass>?) -> Self

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