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

## Parameters

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

## Return Value

Return Value A new INSpeakableStringResolutionResult object.

## Discussion

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

## See Also

### Creating a Resolution Result Object

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