---
title: INSetProfileInCarIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/insetprofileincarintentresponse
---

# INSetProfileInCarIntentResponse

Your app’s response to a set profile in car intent.

## Declaration

```swift
class INSetProfileInCarIntentResponse
```

## Overview

Overview An INSetProfileInCarIntentResponse object contains the status of restoring one or more environment settings from a designated profile. You create instances of this class when confirming or handling a set profile in car intent. You create an INSetProfileInCarIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your set profile in car handler object. For more information about implementing your handler object, see INSetProfileInCarIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/insetprofileincarintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/insetprofileincarintentresponse/code.md)
- [INSetProfileInCarIntentResponseCode](intents/insetprofileincarintentresponsecode.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### CarPlay Profile Settings

- [INSetProfileInCarIntentHandling](intents/insetprofileincarintenthandling.md)
- [INSetProfileInCarIntent](intents/insetprofileincarintent.md)
