<!--
{
  "availability" : [
    "iOS: 10.0.0 - 15.0.0",
    "iPadOS: 10.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/INSetProfileInCarIntentResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INSetProfileInCarIntentResponse"
  },
  "title" : "INSetProfileInCarIntentResponse"
}
-->

# INSetProfileInCarIntentResponse

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

```
class INSetProfileInCarIntentResponse
```

## Overview

An [`INSetProfileInCarIntentResponse`](/documentation/Intents/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`](/documentation/Intents/INSetProfileInCarIntentResponse) object in the [`confirm(intent:completion:)`](/documentation/Intents/INSetProfileInCarIntentHandling/confirm(intent:completion:)) and [`handle(intent:completion:)`](/documentation/Intents/INSetProfileInCarIntentHandling/handle(intent:completion:)) methods of your set profile in car handler object. For more information about implementing your handler object, see [`INSetProfileInCarIntentHandling`](/documentation/Intents/INSetProfileInCarIntentHandling).

## Topics

### Initializing the Response Object

[`init(code:userActivity:)`](/documentation/Intents/INSetProfileInCarIntentResponse/init(code:userActivity:))

Initializes the response object with the specified code and user activity object.

### Getting the Response Code

[`code`](/documentation/Intents/INSetProfileInCarIntentResponse/code)

The code indicating whether you successfully handled the intent.

[`INSetProfileInCarIntentResponseCode`](/documentation/Intents/INSetProfileInCarIntentResponseCode)

Constants indicating the state of the response.



---

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)