docs/doc/reference/com/google/android/exoplayer2/trackselection/AdaptiveTrackSelection.AdaptationCheckpoint.html
Package com.google.android.exoplayer2.trackselection
Enclosing class:AdaptiveTrackSelection
public static final classAdaptiveTrackSelection.AdaptationCheckpointextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Checkpoint to determine allocated bandwidth.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| long | allocatedBandwidth |
Allocated bandwidth at this checkpoint in bits per second.
|
| long | totalBandwidth |
Total bandwidth in bits per second at which this checkpoint applies.
|
Constructors | Constructor | Description |
| --- | --- |
| AdaptationCheckpoint(long totalBandwidth, long allocatedBandwidth) | |
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| boolean | equals(Object o) | |
| int | hashCode() | |
-
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
public final long totalBandwidth
Total bandwidth in bits per second at which this checkpoint applies.
-
public final long allocatedBandwidth
Allocated bandwidth at this checkpoint in bits per second.
-
public AdaptationCheckpoint(long totalBandwidth,
long allocatedBandwidth)
-
public boolean equals(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")o)
Overrides:equals in class Object
-
public int hashCode()
Overrides:hashCode in class Object