# AdaptiveTrackSelection.AdaptationCheckpoint

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint "View this page in Java")

<br />

```
class AdaptiveTrackSelection.AdaptationCheckpoint
```

<br />

*** ** * ** ***

Checkpoint to determine allocated bandwidth.

## Summary

|                                                                                                                                                                                       ### Public constructors                                                                                                                                                                                       |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AdaptationCheckpoint](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#AdaptationCheckpoint(long,long))`(totalBandwidth: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`, allocatedBandwidth: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)` |

|                                ### Public functions                                 |
|-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#equals(java.lang.Object))`(o: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)         | [hashCode](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#hashCode())`()`                                                                                              |

|                             ### Public properties                             |
|-------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) | [allocatedBandwidth](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#allocatedBandwidth()) Allocated bandwidth at this checkpoint in bits per second.   |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) | [totalBandwidth](https://developer.android.com/reference/kotlin/androidx/media3/exoplayer/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint#totalBandwidth()) Total bandwidth in bits per second at which this checkpoint applies. |

## Public constructors

### AdaptationCheckpoint

```
AdaptationCheckpoint(totalBandwidth: Long, allocatedBandwidth: Long)
```  

## Public functions

### equals

```
fun equals(o: Any?): Boolean
```  

### hashCode

```
fun hashCode(): Int
```  

## Public properties

### allocatedBandwidth

```
val allocatedBandwidth: Long
```

Allocated bandwidth at this checkpoint in bits per second.  

### totalBandwidth

```
val totalBandwidth: Long
```

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