docs/doc/reference/com/google/android/exoplayer2/upstream/LoadErrorHandlingPolicy.FallbackOptions.html
Package com.google.android.exoplayer2.upstream
Enclosing interface:LoadErrorHandlingPolicy
public static final classLoadErrorHandlingPolicy.FallbackOptionsextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Holds information about the available fallback options.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| int | numberOfExcludedLocations |
The number of locations that are already excluded.
|
| int | numberOfExcludedTracks |
The number of tracks that are already excluded.
|
| int | numberOfLocations |
The number of available locations.
|
| int | numberOfTracks |
The number of tracks.
|
Constructors | Constructor | Description |
| --- | --- |
| FallbackOptions(int numberOfLocations, int numberOfExcludedLocations, int numberOfTracks, int numberOfExcludedTracks) |
Creates an instance.
|
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| boolean | isFallbackAvailable(@com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackType int type) |
Returns whether a fallback is available for the given fallback type.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public final int numberOfLocations
The number of available locations.
-
public final int numberOfExcludedLocations
The number of locations that are already excluded.
-
public final int numberOfTracks
The number of tracks.
-
public final int numberOfExcludedTracks
The number of tracks that are already excluded.
-
public FallbackOptions(int numberOfLocations,
int numberOfExcludedLocations,
int numberOfTracks,
int numberOfExcludedTracks)
Creates an instance.
-
public boolean isFallbackAvailable(@com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy.FallbackType int type)
Returns whether a fallback is available for the given fallback type.