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 fakeExtractorOutputimplementation.
-
-
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 voidendTracks()Deprecated.Called when all tracks have been identified, meaning no newtrackIdvalues will be passed toExtractorOutput.track(int, int).voidseekMap(SeekMap seekMap)Deprecated.Called when aSeekMaphas been extracted from the stream.TrackOutputtrack(int id, int type)Deprecated.Called by theExtractorto get theTrackOutputfor a specific track.
-
-
-
Method Detail
-
track
public TrackOutput track(int id, int type)
Deprecated.Description copied from interface:ExtractorOutputCalled by theExtractorto get theTrackOutputfor a specific track.The same
TrackOutputis returned if multiple calls are made with the sameid.- Specified by:
trackin interfaceExtractorOutput- Parameters:
id- A track identifier.type- Thetrack type.- Returns:
- The
TrackOutputfor the given track identifier.
-
endTracks
public void endTracks()
Deprecated.Description copied from interface:ExtractorOutputCalled when all tracks have been identified, meaning no newtrackIdvalues will be passed toExtractorOutput.track(int, int).- Specified by:
endTracksin interfaceExtractorOutput
-
seekMap
public void seekMap(SeekMap seekMap)
Deprecated.Description copied from interface:ExtractorOutputCalled when aSeekMaphas been extracted from the stream.- Specified by:
seekMapin interfaceExtractorOutput- Parameters:
seekMap- The extractedSeekMap.
-
-