---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inmediadestinationresolutionresult/disambiguation(with:)"
---

# disambiguation(with:)

Creates an object whose resolution requires the user to select from among the specified objects.

## Declaration

```swift
class func disambiguation(with mediaDestinationsToDisambiguate: [INMediaDestination]) -> Self
```

## Parameters

- `mediaDestinationsToDisambiguate`: An array of doc://com.apple.sirikit/documentation/Intents/INMediaDestinationReference objects for the user to choose from.

## Return Value

Return Value A new INMediaDestinationResolutionResult object.

## Discussion

Discussion Use this method to create a result object when more than one media destination matches the given information and you can’t definitevely pick one. Ask the user to select from among the notes that you specify. For each INMediaDestinationReference object you provide, include enough information to be able to locate the destination  later. When the user selects one of the destinations, SiriKit puts the details from your INMediaDestinationReference object into the intent and asks you to resolve the adding of media again.

## See Also

### Creating a Resolution Result Object

- [success(with:)](intents/inmediadestinationresolutionresult/success(with:).md)
- [confirmationRequired(with:)](intents/inmediadestinationresolutionresult/confirmationrequired(with:).md)
