# RangingCapabilities

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/RangingCapabilities.kt+class:androidx.core.uwb.RangingCapabilities) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core-uwb#1.0.0)

*** ** * ** ***


```
public final class RangingCapabilities
```

<br />

*** ** * ** ***

Describes UWB ranging capabilities for the current device.

## Summary

| ### Public methods |
|---|---|
| `final int` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#getMinRangingInterval()()` - Minimum ranging interval |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#getSupportedChannels()()` - Set of supported channels |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#getSupportedConfigIds()()` - Set of supported config ids |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#getSupportedNtfConfigs()()` - Set of supported notification config |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#getSupportedRangingUpdateRates()()` - Set of supported update rates |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/Integer.html>` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#getSupportedSlotDurations()()` - Set of supported slot durations |
| `final boolean` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#isAzimuthalAngleSupported()()` - Whether azimuthal angle of arrival is supported |
| `final boolean` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#isBackgroundRangingSupported()()` - Whether a ranging can be started when the app is in background |
| `final boolean` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#isDistanceSupported()()` - Whether distance ranging is supported |
| `final boolean` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#isElevationAngleSupported()()` - Whether elevation angle of arrival is supported |
| `final boolean` | `https://developer.android.com/reference/androidx/core/uwb/RangingCapabilities#isRangingIntervalReconfigureSupported()()` - Whether ranging interval reconfiguration is supported |

## Public methods

### getMinRangingInterval

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

```
public final int getMinRangingInterval()
```

- Minimum ranging interval

### getSupportedChannels

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

```
public final @NonNull Set<@NonNull Integer> getSupportedChannels()
```

- Set of supported channels

### getSupportedConfigIds

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

```
public final @NonNull Set<@NonNull Integer> getSupportedConfigIds()
```

- Set of supported config ids

### getSupportedNtfConfigs

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

```
public final @NonNull Set<@NonNull Integer> getSupportedNtfConfigs()
```

- Set of supported notification config

### getSupportedRangingUpdateRates

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

```
public final @NonNull Set<@NonNull Integer> getSupportedRangingUpdateRates()
```

- Set of supported update rates

### getSupportedSlotDurations

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

```
public final @NonNull Set<@NonNull Integer> getSupportedSlotDurations()
```

- Set of supported slot durations

### isAzimuthalAngleSupported

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

```
public final boolean isAzimuthalAngleSupported()
```

- Whether azimuthal angle of arrival is supported

### isBackgroundRangingSupported

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

```
public final boolean isBackgroundRangingSupported()
```

- Whether a ranging can be started when the app is in background

### isDistanceSupported

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

```
public final boolean isDistanceSupported()
```

- Whether distance ranging is supported

### isElevationAngleSupported

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

```
public final boolean isElevationAngleSupported()
```

- Whether elevation angle of arrival is supported

### isRangingIntervalReconfigureSupported

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

```
public final boolean isRangingIntervalReconfigureSupported()
```

- Whether ranging interval reconfiguration is supported