<!--
{
  "availability" : [
    "iOS: 11.0.0 - 27.0.0",
    "iPadOS: 11.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0",
    "watchOS: 4.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSetTaskAttributeIntentResponseCode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:@E@INSetTaskAttributeIntentResponseCode"
  },
  "title" : "INSetTaskAttributeIntentResponseCode"
}
-->

# INSetTaskAttributeIntentResponseCode

Constants indicating the state of the response.

```
enum INSetTaskAttributeIntentResponseCode
```

## Topics

### Constants

[`case unspecified`](/documentation/Intents/INSetTaskAttributeIntentResponseCode/unspecified)

The response didn’t specify a response code.

[`case ready`](/documentation/Intents/INSetTaskAttributeIntentResponseCode/ready)

You are ready to handle the intent.

[`case inProgress`](/documentation/Intents/INSetTaskAttributeIntentResponseCode/inProgress)

The modification of the task list is still in progress.

[`case success`](/documentation/Intents/INSetTaskAttributeIntentResponseCode/success)

You successfully modified the task attributes.

[`case failure`](/documentation/Intents/INSetTaskAttributeIntentResponseCode/failure)

You were unable to modify the task attributes.

[`case failureRequiringAppLaunch`](/documentation/Intents/INSetTaskAttributeIntentResponseCode/failureRequiringAppLaunch)

The user must modify tasks from within your app.

### Initializers

[`init?(rawValue: Int)`](/documentation/Intents/INSetTaskAttributeIntentResponseCode/init(rawValue:))

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)