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

# code

The code that indicates whether you successfully handled the intent.

## Declaration

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

## Discussion

Discussion This property’s value is set automatically at initialization time and can’t be changed later.

## See Also

### Getting the Response Code

- [INStartWorkoutIntentResponseCode](intents/instartworkoutintentresponsecode.md)
