Instance Method

resolveRelativeTemperatureSettingForSetClimateSettingsInCar:withCompletion:

Resolves the requested relative qualifier for the temperature change.

Declaration

- (void)resolveRelativeTemperatureSettingForSetClimateSettingsInCar:(INSetClimateSettingsInCarIntent *)intent withCompletion:(void (^)(INRelativeSettingResolutionResult *resolutionResult))completion;

Parameters

intent

The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.

completion

The block to execute with the resolution. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:

resolutionResult

The object containing the details of your proposed resolution. For successful resolutions, create a resolution object that contains the INRelativeSetting value that you intend to use. If the intent does not apply to this setting, return a result that indicates the value is not required.

Discussion

Implement this method to resolve the requested temperature change. Use the intent object to identify the requested temperature change as applied to the current temperature.

See Also

Resolving the Intent Parameters

- resolveEnableFanForSetClimateSettingsInCar:withCompletion:

Resolves whether you can enable the car’s fan.

- resolveEnableAirConditionerForSetClimateSettingsInCar:withCompletion:

Resovles whether you can enable the air conditioner.

- resolveEnableClimateControlForSetClimateSettingsInCar:withCompletion:

Resolves whether you can enable the climate control system.

- resolveEnableAutoModeForSetClimateSettingsInCar:withCompletion:

Resolves whether you can enable automatic mode for the car’s climate control.

- resolveRelativeFanSpeedSettingForSetClimateSettingsInCar:withCompletion:

Resolves the requested relative qualifier for the fan speed.