Class

INTemperatureResolutionResult

A resolution result for the units to use with a temperature value.

Declaration

class INTemperatureResolutionResult : INIntentResolutionResult

Overview

An INTemperatureResolutionResult object is what you return when resolving parameters containing an NSMeasurement object with a temperature value. Use the creation method that best reflects your ability to successfully resolve the parameter. For additional resolution options, see INIntentResolutionResult.

Topics

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.

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

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

Relationships

Conforms To

See Also

Resolution Results

class INCarSeatResolutionResult

A resolution result for a specific seat of the car.

class INCarDefrosterResolutionResult

A resolution result for which defroster to use in a car.

class INCarAudioSourceResolutionResult

A resolution result for the audio source to use in a car.

class INCarAirCirculationModeResolutionResult

A resolution result for the air circulation mode to use in a car.

class INRadioTypeResolutionResult

A resolution result for the type of radio to use in a car.

class INRelativeReferenceResolutionResult

A resolution result for a choice between the next or previous option.

class INRelativeSettingResolutionResult

A resolution result for whether you can select the minimum, current, or maximum value.