public final class CompositeSequenceableLoader extends java.lang.Object implements SequenceableLoader
SequenceableLoader that encapsulates multiple other SequenceableLoaders.SequenceableLoader.Callback<T extends SequenceableLoader>| Constructor and Description |
|---|
CompositeSequenceableLoader(SequenceableLoader[] loaders) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueLoading(long positionUs)
Attempts to continue loading.
|
long |
getNextLoadPositionUs()
Returns the next load time, or
C.TIME_END_OF_SOURCE if loading has finished. |
public CompositeSequenceableLoader(SequenceableLoader[] loaders)
public long getNextLoadPositionUs()
SequenceableLoaderC.TIME_END_OF_SOURCE if loading has finished.getNextLoadPositionUs in interface SequenceableLoaderpublic boolean continueLoading(long positionUs)
SequenceableLoadercontinueLoading in interface SequenceableLoaderpositionUs - The current playback position.SequenceableLoader.getNextLoadPositionUs() will return
a different value than prior to the call. False otherwise.