Class DummyExtractorOutput
- java.lang.Object
-
- com.google.android.exoplayer2.extractor.DummyExtractorOutput
-
- All Implemented Interfaces:
ExtractorOutput
@Deprecated public final class DummyExtractorOutput extends Object implements ExtractorOutput
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.A fakeExtractorOutput
implementation.
-
-
Field Summary
-
Fields inherited from interface com.google.android.exoplayer2.extractor.ExtractorOutput
PLACEHOLDER
-
-
Constructor Summary
Constructors Constructor Description DummyExtractorOutput()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
endTracks()
Deprecated.Called when all tracks have been identified, meaning no newtrackId
values will be passed toExtractorOutput.track(int, int)
.void
seekMap(SeekMap seekMap)
Deprecated.Called when aSeekMap
has been extracted from the stream.TrackOutput
track(int id, int type)
Deprecated.Called by theExtractor
to get theTrackOutput
for a specific track.
-
-
-
Method Detail
-
track
public TrackOutput track(int id, int type)
Deprecated.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()
Deprecated.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)
Deprecated.Description copied from interface:ExtractorOutput
Called when aSeekMap
has been extracted from the stream.- Specified by:
seekMap
in interfaceExtractorOutput
- Parameters:
seekMap
- The extractedSeekMap
.
-
-