Type Method

confirmationRequired(with:)

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

Declaration

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

Parameters

temperatureToConfirm

The value that resolves the request but must be confirmed by the user.

Return Value

A new INTemperatureResolutionResult object.

Discussion

Use this method when you can resolve the parameter to an equivalent value and want the user to confirm the replacement value before proceeding.

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 disambiguation(with: [Measurement<UnitTemperature>]) -> Self

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