Class

INSetDefrosterSettingsInCarIntent

Changes the defroster settings in a CarPlay-enabled vehicle.

Overview

Automotive venders can add support for this intent to an Intents extension that they ship with their automotive apps. When the user asks Siri to change the defroster settings for a vehicle, SiriKit creates an INSetDefrosterSettingsInCarIntent object and delivers it to the app’s Intents extension. You use the intent to identify which defroster the user wants to enable or disable and to communicate the changes directly to your vehicle’s systems.

The object that handles this intent must adopt the INSetDefrosterSettingsInCarIntentHandling protocol. Use this intent object to resolve the defroster details and to create an INSetDefrosterSettingsInCarIntentResponse object indicating whether you were able to make the change successfully.

For a list of other intents in the CarPlay domain, see INCarPlayDomainHandling.

Additional Intent Attributes

Table 1 lists additional attributes of this intent object.

Table 1

Set defroster settings in car intent attributes

Attribute

Description

Supported by

Siri (in conjunction with CarPlay)

Always requires unlocked device

No

Example Phrases

There are many ways in which users can ask Siri to enable or disable the defrosters in a vehicle. Table 2 provides a few sample phrases in different languages. You can use these phrases during testing to trigger your intents. This list is not exhaustive and Siri may recognize many other phrases.

Table 2

Siri phrases that trigger the changing of defroster settings

Locale

Example 1

Example 2

en

Turn on the rear defroster

Turn off the front defroster

zh_CN

打开前窗除雾

打开后窗除雾

zh_HK

打開前面車窗除霧

打開後車窗嘅除霧

zh_TW

打開前窗除霧

打開後窗除霧

yue_CN

打开前面车窗除雾

打开后车窗嘅除雾

ar

شغل مزيل الصقيع الخلفي

شغل مزيل الصقيع الأمامي

da

afrimer på fuld styrke

Sluk for afrimeren

de

Heckscheibenheizung einschalten

Schalte Heckscheibenheizung ein

es

Enciende el desempañador

Apaga el desempañador trasero

fi

Laita takaikkunan huurteenpoisto päälle

Laita takaikkunan huurteenpoisto pois päältä

fr

Allume le dégivrage arrière

Mets en marche le dégivrage arrière

he

שים את מפיג האדים בעוצמה הגבוהה ביותר

שימי את המוריד אדים על הכי חזק

it

Accendi lo sbrinatore posteriore

Spegni lo sbrinatore del parabrezza

ja

後部デフロスターをオンにして

フロントデフロスターをオフにして

ko

뒷 유리 서리 제거해

앞 유리 서리 제거해

ms

Hidupkan penyahfros belakang

Matikan penyahfros depan

nb

Skru på defrosteren bak

Skru av defrosteren foran

nl

Zet de ontdooier achteraan aan

Zet de ontwasemer van voor uit

pt

Ligue o desembaçador traseiro

Desligar o desembaçador frontal

ru

Включи задний обогреватель стёкол

Выключи передний подогрев стёкол

sv

avfrostaren på full styrka

avfrostaren på max

th

เปิดตัวไล่ฝ้าด้านหลัง

ปิดที่ไล่ฝ้าด้านหน้า

tr

Arka buz çözücüyü başlat

Ön buz çözücüyü kapat

When managing CarPlay features, users do not need to include the name of the app in the phrases that they speak. Siri knows automatically when CarPlay is active and routes CarPlay-related intents to the app of the corresponding automotive vendor.

Topics

Initializing the Intent Object

init(enable: Bool?, defroster: INCarDefroster)

Initializes the intent object with the specified defroster information.

init(__enable: NSNumber?, defroster: INCarDefroster)

Initializes the intent object with the specified defroster information.

Getting Details About the Defroster Settings to Set

var enable: Bool?

A Boolean indicating whether to enable or disable the defroster.

var defroster: INCarDefroster

The defroster to enable or disable.

Relationships

Inherits From

Conforms To

See Also

Set Defroster Settings in Car

protocol INSetDefrosterSettingsInCarIntentHandling

Handles the changing of a vehicle’s defroster settings.

class INSetDefrosterSettingsInCarIntentResponse

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