Your app’s response to a set climate settings in car intent.


class INSetClimateSettingsInCarIntentResponse : INIntentResponse


An INSetClimateSettingsInCarIntentResponse object contains the status of changing the climate control settings in the user’s vehicle. You create instances of this class when confirming or handling a set climate settings in car intent.

You create an INSetClimateSettingsInCarIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your set climate settings in car handler object. For more information about implementing your handler object, see INSetClimateSettingsInCarIntentHandling.


Initializing the Response Object

init(code: INSetClimateSettingsInCarIntentResponseCode, userActivity: NSUserActivity?)

Initializes the response object with the specified code and user activity object.

Getting the Response Code

var code: INSetClimateSettingsInCarIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INSetClimateSettingsInCarIntentResponseCode

Constants indicating the state of the response.


Inherits From

Conforms To

See Also

Set Climate Settings in Car

protocol INSetClimateSettingsInCarIntentHandling

The handler interface for changing a vehicle’s climate control settings.

class INSetClimateSettingsInCarIntent

A request to change the climate settings in a CarPlay-enabled vehicle.