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

# confirmationRequired(with:)

Creates an object whose resolution requires confirmation from the user before proceeding.

## Declaration

```swift
class func confirmationRequired(with locationSearchTypeToConfirm: INLocationSearchType) -> Self
```

## Parameters

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

## Return Value

Return Value A new INLocationSearchTypeResolutionResult object.

## Discussion

Discussion Use this method when you cannot resolve the parameter to the specified type and want the user to confirm the use of a different type. Do not use this method to resolve location types if you do not support searching by location.

## See Also

### Creating a Resolution Result Object

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