<!--
{
  "availability" : [
    "iOS: 12.0.0 - 15.0.0",
    "iPadOS: 12.0.0 - 15.0.0",
    "macCatalyst: 13.1.0 - 15.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSetDefrosterSettingsInCarIntentHandling/resolveCarName(for:with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INSetDefrosterSettingsInCarIntentHandling(im)resolveCarNameForSetDefrosterSettingsInCar:withCompletion:"
  },
  "title" : "resolveCarName(for:with:)"
}
-->

# resolveCarName(for:with:)

Resolves the car name.

```
optional func resolveCarName(for intent: INSetDefrosterSettingsInCarIntent, with completion: @escaping @Sendable (INSpeakableStringResolutionResult) -> Void)
```

```
optional func resolveCarName(for intent: INSetDefrosterSettingsInCarIntent) async -> INSpeakableStringResolutionResult
```

## Parameters

`intent`

The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.

`completion`

The block to execute with the resolution. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:

- resolutionResult: The object containing the details of your proposed resolution. For successful resolutions, create a resolution object with the name of the user’s car.

## Discussion

Implement this method to resolve the name of the user’s car. If the app has access to more than one car, use the intent’s [`carName`](/documentation/Intents/INSetDefrosterSettingsInCarIntent/carName) property to identify the correct car. If the app has access to only a single car, you can call the completion block with a `notRequired()` resolution for Swift and `resolutionResultNotRequired` resolution for Objective-C, to indicate that the app doesn’t need the car name.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)