<!--
{
  "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/INMediaAffinityTypeResolutionResult",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INMediaAffinityTypeResolutionResult"
  },
  "title" : "INMediaAffinityTypeResolutionResult"
}
-->

# INMediaAffinityTypeResolutionResult

A resolution result for the user’s affinity for a media item.

```
class INMediaAffinityTypeResolutionResult
```

## Overview

You return an [`INMediaAffinityTypeResolutionResult`](/documentation/Intents/INMediaAffinityTypeResolutionResult) object when resolving parameters containing an [`INMediaAffinityType`](/documentation/Intents/INMediaAffinityType) value. Use the creation method that best reflects your ability to resolve the parameter successfully.

For additional resolution operators, see [`INIntentResolutionResult`](/documentation/Intents/INIntentResolutionResult).

## Topics

### Creating a Resolution Result

[`+  successWithResolvedMediaAffinityType:`](/documentation/Intents/INMediaAffinityTypeResolutionResult/success(with:))

Creates an object whose resolution involves successfully matching the specified parameter.

[`+  confirmationRequiredWithMediaAffinityTypeToConfirm:`](/documentation/Intents/INMediaAffinityTypeResolutionResult/confirmationRequired(with:))

Creates an object whose resolution requires that the user must confirm the value before proceeding.

## Relationships

### Conforms To

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

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

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

### Inherits From

[`INIntentResolutionResult`](/documentation/Intents/INIntentResolutionResult)

---

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)