---
title: INStartWorkoutIntentResponse
framework: intents
role: symbol
role_heading: Class
path: intents/instartworkoutintentresponse
---

# INStartWorkoutIntentResponse

Your app’s response to a start workout intent.

## Declaration

```swift
class INStartWorkoutIntentResponse
```

## Overview

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

## Topics

### Initializing the Response Object

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

### Getting the Response Code

- [code](intents/instartworkoutintentresponse/code.md)
- [INStartWorkoutIntentResponseCode](intents/instartworkoutintentresponsecode.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

### Start a Workout

- [INStartWorkoutIntentHandling](intents/instartworkoutintenthandling.md)
- [INStartWorkoutIntent](intents/instartworkoutintent.md)
