---
title: "resolveDefaultProfile(forSetProfileInCar:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insetprofileincarintenthandling/resolvedefaultprofile(forsetprofileincar:with:)"
---

# resolveDefaultProfile(forSetProfileInCar:with:)

Resolves whether the profile can become the default profile.

## Declaration

```swift
optional func resolveDefaultProfile(forSetProfileInCar intent: INSetProfileInCarIntent, with completion: @escaping @Sendable (INBooleanResolutionResult) -> Void)
```

```swift
optional func resolveDefaultProfile(forSetProfileInCar intent: INSetProfileInCarIntent) async -> INBooleanResolutionResult
```

## 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 your response. 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:

## Discussion

Discussion If you don’t allow the specified profile to become the default, return an unsupported resolution result.

## See Also

### Resolving the Intent Parameters

- [resolveProfileNumber(for:with:)](intents/insetprofileincarintenthandling/resolveprofilenumber(for:with:).md)
- [resolveProfileName(for:with:)](intents/insetprofileincarintenthandling/resolveprofilename(for:with:).md)
- [resolveCarName(for:with:)](intents/insetprofileincarintenthandling/resolvecarname(for:with:).md)
