Class

INSetDefrosterSettingsInCarIntentResponse

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

Overview

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.

Topics

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.

Relationships

Inherits From

Conforms To

See Also

Set Defroster Settings in Car

protocol INSetDefrosterSettingsInCarIntentHandling

Handles the changing of a vehicle’s defroster settings.

class INSetDefrosterSettingsInCarIntent

Changes the defroster settings in a CarPlay-enabled vehicle.