---
title: "init(enableHeating:enableCooling:enableMassage:seat:level:relativeLevel:carName:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/insetseatsettingsincarintent/init(enableheating:enablecooling:enablemassage:seat:level:relativelevel:carname:)"
---

# init(enableHeating:enableCooling:enableMassage:seat:level:relativeLevel:carName:)

Initializes the intent object with the specified climate settings information.

## Declaration

```swift
@nonobjc convenience init(enableHeating: Bool? = nil, enableCooling: Bool? = nil, enableMassage: Bool? = nil, seat: INCarSeat = .unknown, level: Int? = nil, relativeLevel: INRelativeSetting = .unknown, carName: INSpeakableString? = nil)
```

## Parameters

- `enableHeating`: A Boolean value indicating whether to enable the seat heater system. Specify nil if you don’t want to modify this setting.
- `enableCooling`: A Boolean value indicating whether to enable the seat cooling system. Specify nil if you don’t want to modify this setting.
- `enableMassage`: A Boolean value indicating whether to enable the seat massage system. Specify nil if you don’t want to modify this setting.
- `seat`: The seat position to modify.
- `level`: The heating, cooling, or massage level, specified as an integer indicating the position of the corresponding controls. Specify nil if you don’t want to use this parameter to make the change.
- `relativeLevel`: The heating, cooling, or massage level, specified as a change relative to the current level. Specify nil if you don’t want to use this parameter to make the change.
- `carName`: The name of the car to apply the settings to.

## Return Value

Return Value An initialized intent object or nil if the object could not be created.

## Discussion

Discussion Normally, you don’t create instances of this class yourself. Instead, Siri creates instances when the user asks to change the vehicle’s seat settings. However, you can use this method during testing to create intent objects in order to validate your intent handling code paths. Your test code should modify the settings for only one system at a time.
