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

# code

The code that indicates whether you successfully handled the intent.

## Declaration

```swift
var code: INResumeWorkoutIntentResponseCode { 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

- [INResumeWorkoutIntentResponseCode](intents/inresumeworkoutintentresponsecode.md)
