---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inmassresolutionresult/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 massToDisambiguate: [Measurement<UnitMass>]) -> Self
```

## Parameters

- `massToDisambiguate`: An array of doc://com.apple.documentation/documentation/Foundation/UnitMass objects for the user to choose from.

## Return Value

Return Value A new INMassResolutionResult object.

## Discussion

Discussion Use this method to create a result object when there’s more one value that might match the given parameter. Siri prompts the user to select from among the objects you provide.

## See Also

### Creating a Resolution Result Object

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