---
title: INEndWorkoutIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/inendworkoutintentresponse
---

# INEndWorkoutIntentResponse

Your app’s response to an end workout intent.

## Declaration

```swift
class INEndWorkoutIntentResponse
```

## Overview

Overview Use an INEndWorkoutIntentResponse object to specify whether your app is able to end a workout. The response object contains only the status code that indicates whether to launch your app or whether there was a problem. You create an INEndWorkoutIntentResponse object in the handle(intent:completion:) and confirm(intent:completion:) methods of your end workout handler object. For more information about implementing your handler object, see INEndWorkoutIntentHandling.

## Topics

### Initializing the Response Object

- [init(code:userActivity:)](intents/inendworkoutintentresponse/init(code:useractivity:).md)

### Getting the Response Code

- [code](intents/inendworkoutintentresponse/code.md)
- [INEndWorkoutIntentResponseCode](intents/inendworkoutintentresponsecode.md)

## Relationships

### Inherits From

- [INIntentResponse](intents/inintentresponse.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### End a Workout

- [INEndWorkoutIntentHandling](intents/inendworkoutintenthandling.md)
- [INEndWorkoutIntent](intents/inendworkoutintent.md)
