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

# INUpdateMediaAffinityIntentResponseCode

Codes returned by an intents handler in response to an update media affinity request.

```
enum INUpdateMediaAffinityIntentResponseCode
```

## Topics

### Response Code

[`INUpdateMediaAffinityIntentResponseCodeUnspecified`](/documentation/Intents/INUpdateMediaAffinityIntentResponseCode/unspecified)

An unknown state.

[`INUpdateMediaAffinityIntentResponseCodeReady`](/documentation/Intents/INUpdateMediaAffinityIntentResponseCode/ready)

The app is ready.

[`INUpdateMediaAffinityIntentResponseCodeInProgress`](/documentation/Intents/INUpdateMediaAffinityIntentResponseCode/inProgress)

The app is currently trying to process the update affinity request.

[`INUpdateMediaAffinityIntentResponseCodeSuccess`](/documentation/Intents/INUpdateMediaAffinityIntentResponseCode/success)

The app successfully updated the user’s affinity for the media.

[`INUpdateMediaAffinityIntentResponseCodeFailure`](/documentation/Intents/INUpdateMediaAffinityIntentResponseCode/failure)

The app is unable to update the user’s affinity for the media.

[`INUpdateMediaAffinityIntentResponseCodeFailureRequiringAppLaunch`](/documentation/Intents/INUpdateMediaAffinityIntentResponseCode/failureRequiringAppLaunch)

The user needs to launch the app to update the user’s affinity for the media.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)