Type Method

disambiguation(with:)

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

Declaration

class func disambiguation(with temperaturesToDisambiguate: [Measurement<UnitTemperature>]) -> Self

Parameters

temperaturesToDisambiguate

An array of NSMeasurement objects for the user to choose from. Each measurement object reflects a value of type UnitTemperature.

Return Value

A new INTemperatureResolutionResult object.

Discussion

Use this method to create a result object when there is more one value that might match the given parameter. Siri asks the user to select from among the measurement values that you specify.

See Also

Creating a Resolution Result Object

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

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

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

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