---
title: "resolveCallType(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insearchcallhistoryintenthandling/resolvecalltype(for:with:)"
---

# resolveCallType(for:with:)

Resolves the search criteria for the call type.

## Declaration

```swift
optional func resolveCallType(for intent: INSearchCallHistoryIntent, with completion: @escaping @Sendable (INCallRecordTypeResolutionResult) -> Void)
```

```swift
optional func resolveCallType(for intent: INSearchCallHistoryIntent) async -> INCallRecordTypeResolutionResult
```

## Parameters

- `intent`: The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to let SiriKit know which types of calls you can search. Your implementation should provide a successful resolution for the call types you support and an unsupported resolution for any call types you don’t support.

## See Also

### Resolving the Intent Parameters

- [resolveCallTypes(for:with:)](intents/insearchcallhistoryintenthandling/resolvecalltypes(for:with:).md)
- [resolveRecipient(for:with:)](intents/insearchcallhistoryintenthandling/resolverecipient(for:with:).md)
- [resolveDateCreated(for:with:)](intents/insearchcallhistoryintenthandling/resolvedatecreated(for:with:).md)
- [resolveUnseen(for:with:)](intents/insearchcallhistoryintenthandling/resolveunseen(for:with:).md)
