Class ShadowMediaExtractor

java.lang.Object
org.robolectric.shadows.ShadowMediaExtractor

@Implements(android.media.MediaExtractor.class) public class ShadowMediaExtractor extends Object
A shadow for the MediaExtractor class.

Returns data previously injected by addTrack(DataSource, MediaFormat, byte[]).

Note several limitations, due to not using actual media codecs for decoding: