---
title: "confirmationRequired(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inmediaaffinitytyperesolutionresult/confirmationrequired(with:)"
---

# confirmationRequired(with:)

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

## Declaration

```swift
class func confirmationRequired(with mediaAffinityTypeToConfirm: INMediaAffinityType) -> Self
```

## Parameters

- `mediaAffinityTypeToConfirm`: The value that resolves the request but must be confirmed by the user.

## Return Value

Return Value A new INMediaAffinityTypeResolutionResult object.

## Discussion

Discussion Use this method when you can’t resolve the parameter to an affinity that’s similar, but not equal to, the one specified in the intent. Don’t use this method to resolve affinities your app doesn’t support.

## See Also

### Creating a Resolution Result

- [success(with:)](intents/inmediaaffinitytyperesolutionresult/success(with:).md)
