---
title: "resolveChannel(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insetradiostationintenthandling/resolvechannel(for:with:)"
---

# resolveChannel(for:with:)

Resolves the channel number for the radio station.

## Declaration

```swift
optional func resolveChannel(for intent: INSetRadioStationIntent, with completion: @escaping @Sendable (INStringResolutionResult) -> Void)
```

```swift
optional func resolveChannel(for intent: INSetRadioStationIntent) async -> INStringResolutionResult
```

## 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 block to execute with your response. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to resolve the channel for the radio station. Use this method to set the radio to the station associated with the resolved channel.

## See Also

### Resolving the Intent Parameters

- [resolveRadioType(for:with:)](intents/insetradiostationintenthandling/resolveradiotype(for:with:).md)
- [resolveFrequency(for:with:)](intents/insetradiostationintenthandling/resolvefrequency(for:with:).md)
- [resolveStationName(for:with:)](intents/insetradiostationintenthandling/resolvestationname(for:with:).md)
- [resolvePresetNumber(for:with:)](intents/insetradiostationintenthandling/resolvepresetnumber(for:with:).md)
