---
title: "handle(intent:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insetdefrostersettingsincarintenthandling/handle(intent:completion:)"
---

# handle(intent:completion:)

Handles changing the defroster settings.

## Declaration

```swift
func handle(intent: INSetDefrosterSettingsInCarIntent, completion: @escaping @Sendable (INSetDefrosterSettingsInCarIntentResponse) -> Void)
```

```swift
func handle(intent: INSetDefrosterSettingsInCarIntent) async -> INSetDefrosterSettingsInCarIntentResponse
```

## Parameters

- `intent`: The intent object containing details about the user’s request. Your handler object has already resolved the information in this object.
- `completion`: The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Your implementation of this method should communicate the new defroster settings to the vehicle’s climate control system. When done, execute the provided block with a response object indicating whether you successfully changed the defroster settings.
