Class

INSetClimateSettingsInCarIntentResponse

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

Overview

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.

Topics

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.

Relationships

Inherits From

Conforms To

See Also

Set Climate Settings in Car

protocol INSetClimateSettingsInCarIntentHandling

Handles the changing of a vehicle’s climate control settings.

class INSetClimateSettingsInCarIntent

Changes the climate settings in a CarPlay-enabled vehicle.