Protocol

INSetDefrosterSettingsInCarIntentHandling

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

Overview

Automotive venders can support the INSetDefrosterSettingsInCarIntentHandling protocol in an Intents extension that they ship with their automotive apps. Use the methods of this protocol to resolve, confirm, and handle requests to change the vehicle’s defroster settings. Your extension should be able to communicate with the vehicle and make the necessary climate control changes.

Siri delivers an INSetDefrosterSettingsInCarIntent object to your handler when the user asks to change the defroster change. The intent object contains information that you use to determine the new new defroster settings and to make the change.

Topics

Handling the Intent

Confirming the Response

func confirm(intent: INSetDefrosterSettingsInCarIntent, completion: (INSetDefrosterSettingsInCarIntentResponse) -> Void)

Called when it is time for you to confirm whether you can change the defroster settings.

Resolving Details of the Intent

func resolveEnable(for: INSetDefrosterSettingsInCarIntent, with: (INBooleanResolutionResult) -> Void)

Called when it is time for you to resolve whether the setting can be enabled or disabled.

func resolveDefroster(for: INSetDefrosterSettingsInCarIntent, with: (INCarDefrosterResolutionResult) -> Void)

Called when it is time for you to resolve which defroster is to be changed.

Relationships

Inherits From

See Also

Set Defroster Settings in Car

class INSetDefrosterSettingsInCarIntent

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

class INSetDefrosterSettingsInCarIntentResponse

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software