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

# code

The code that indicates whether you successfully handled the intent.

## Declaration

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

- [INPauseWorkoutIntentResponseCode](intents/inpauseworkoutintentresponsecode.md)
