# UwbComplexChannel

Artifact: [androidx.core.uwb:uwb](https://developer.android.com/jetpack/androidx/releases/core-uwb) [View Source](https://cs.android.com/search?q=file:androidx/core/uwb/UwbComplexChannel.kt+class:androidx.core.uwb.UwbComplexChannel) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.0.0)

*** ** * ** ***


```
public final class UwbComplexChannel
```

<br />

*** ** * ** ***

Represents the channel which a UWB device is currently active on.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/core/uwb/UwbComplexChannel#UwbComplexChannel(kotlin.Int,kotlin.Int)(int channel, int preambleIndex)` |

| ### Public methods |
|---|---|
| `final int` | `https://developer.android.com/reference/androidx/core/uwb/UwbComplexChannel#getChannel()()` the current channel for the device. |
| `final int` | `https://developer.android.com/reference/androidx/core/uwb/UwbComplexChannel#getPreambleIndex()()` the current preamble index for the device. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/core/uwb/UwbComplexChannel#toString()()` Returns the string format of `https://developer.android.com/reference/androidx/core/uwb/UwbComplexChannel`. |

## Public constructors

### UwbComplexChannel

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.0.0)

```
public UwbComplexChannel(int channel, int preambleIndex)
```

## Public methods

### getChannel

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.0.0)

```
public final int getChannel()
```

the current channel for the device.

### getPreambleIndex

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.0.0)

```
public final int getPreambleIndex()
```

the current preamble index for the device.

### toString

```
public @NonNull String toString()
```

Returns the string format of `https://developer.android.com/reference/androidx/core/uwb/UwbComplexChannel`.