---
title: code
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insetcarlockstatusintentresponse/code
---

# code

The code indicating success or failure when confirming or handling an intent.

## Declaration

```swift
var code: INSetCarLockStatusIntentResponseCode { get }
```

## Discussion

Discussion The value of this property is set automatically at initialization time and can’t be changed later.

## See Also

### Getting the Response Code

- [INSetCarLockStatusIntentResponseCode](intents/insetcarlockstatusintentresponsecode.md)
