# AdaptiveTrackSelection.AdaptationCheckpoint

Artifact: [androidx.media3:media3-exoplayer](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.java+class:androidx.media3.exoplayer.trackselection.AdaptiveTrackSelection.AdaptationCheckpoint)

*** ** * ** ***


```
public final class AdaptiveTrackSelection.AdaptationCheckpoint
```

<br />

*** ** * ** ***

Checkpoint to determine allocated bandwidth.

## Summary

| ### Public fields |
|---|---|
| `final long` | `https://developer.android.com/reference/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#allocatedBandwidth()` Allocated bandwidth at this checkpoint in bits per second. |
| `final long` | `https://developer.android.com/reference/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#totalBandwidth()` Total bandwidth in bits per second at which this checkpoint applies. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#AdaptationCheckpoint(long,long)(long totalBandwidth, long allocatedBandwidth)` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#equals(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/Object.html o)` |
| `int` | `https://developer.android.com/reference/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#hashCode()()` |

## Public fields

### allocatedBandwidth

```
public final long allocatedBandwidth
```

Allocated bandwidth at this checkpoint in bits per second.

### totalBandwidth

```
public final long totalBandwidth
```

Total bandwidth in bits per second at which this checkpoint applies.

## Public constructors

### AdaptationCheckpoint

```
public AdaptationCheckpoint(long totalBandwidth, long allocatedBandwidth)
```

## Public methods

### equals

```
public boolean equals(@Nullable Object o)
```

### hashCode

```
public int hashCode()
```