Class CompositeSequenceableLoader

    • Constructor Detail

      • CompositeSequenceableLoader

        public CompositeSequenceableLoader​(SequenceableLoader[] loaders)
        Deprecated.
    • Method Detail

      • getBufferedPositionUs

        public final long getBufferedPositionUs()
        Deprecated.
        Description copied from interface: SequenceableLoader
        Returns an estimate of the position up to which data is buffered.
        Specified by:
        getBufferedPositionUs in interface SequenceableLoader
        Returns:
        An estimate of the absolute position in microseconds up to which data is buffered, or C.TIME_END_OF_SOURCE if the data is fully buffered.
      • reevaluateBuffer

        public final void reevaluateBuffer​(long positionUs)
        Deprecated.
        Description copied from interface: SequenceableLoader
        Re-evaluates the buffer given the playback position.

        Re-evaluation may discard buffered media or cancel ongoing loads so that media can be re-buffered in a different quality.

        Specified by:
        reevaluateBuffer in interface SequenceableLoader
        Parameters:
        positionUs - The current playback position in microseconds. If playback of this period has not yet started, the value will be the starting position in this period minus the duration of any media in previous periods still to be played.
      • continueLoading

        public boolean continueLoading​(long positionUs)
        Deprecated.
        Description copied from interface: SequenceableLoader
        Attempts to continue loading.
        Specified by:
        continueLoading in interface SequenceableLoader
        Parameters:
        positionUs - The current playback position in microseconds. If playback of the period to which this loader belongs has not yet started, the value will be the starting position in the period minus the duration of any media in previous periods still to be played.
        Returns:
        True if progress was made, meaning that SequenceableLoader.getNextLoadPositionUs() will return a different value than prior to the call. False otherwise.