Class DummyExtractorOutput
- java.lang.Object
-
- com.google.android.exoplayer2.extractor.DummyExtractorOutput
-
- All Implemented Interfaces:
ExtractorOutput
public final class DummyExtractorOutput extends Object implements ExtractorOutput
A fakeExtractorOutput
implementation.
-
-
Field Summary
-
Fields inherited from interface com.google.android.exoplayer2.extractor.ExtractorOutput
PLACEHOLDER
-
-
Constructor Summary
Constructors Constructor Description DummyExtractorOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endTracks()
Called when all tracks have been identified, meaning no newtrackId
values will be passed toExtractorOutput.track(int, int)
.void
seekMap(SeekMap seekMap)
Called when aSeekMap
has been extracted from the stream.TrackOutput
track(int id, int type)
Called by theExtractor
to get theTrackOutput
for a specific track.
-
-
-
Method Detail
-
track
public TrackOutput track(int id, int type)
Description copied from interface:ExtractorOutput
Called by theExtractor
to get theTrackOutput
for a specific track.The same
TrackOutput
is returned if multiple calls are made with the sameid
.- Specified by:
track
in interfaceExtractorOutput
- Parameters:
id
- A track identifier.type
- Thetrack type
.- Returns:
- The
TrackOutput
for the given track identifier.
-
endTracks
public void endTracks()
Description copied from interface:ExtractorOutput
Called when all tracks have been identified, meaning no newtrackId
values will be passed toExtractorOutput.track(int, int)
.- Specified by:
endTracks
in interfaceExtractorOutput
-
seekMap
public void seekMap(SeekMap seekMap)
Description copied from interface:ExtractorOutput
Called when aSeekMap
has been extracted from the stream.- Specified by:
seekMap
in interfaceExtractorOutput
- Parameters:
seekMap
- The extractedSeekMap
.
-
-