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


class INSetDefrosterSettingsInCarIntentResponse : INIntentResponse


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

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


Initializing the Response

init(code: INSetDefrosterSettingsInCarIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INSetDefrosterSettingsInCarIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INSetDefrosterSettingsInCarIntentResponseCode

Constants indicating the state of the response.


Inherits From

Conforms To

See Also

Set Defroster Settings in Car

protocol INSetDefrosterSettingsInCarIntentHandling

The handler interface for changing a vehicle’s defroster settings.

class INSetDefrosterSettingsInCarIntent

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