FileDocCategorySizeDatePackage
MediaExtractor.javaAPI DocAndroid 5.1 API2038Sat Mar 14 14:09:38 GMT 2015android.media

MediaExtractor

public final class MediaExtractor extends Object

Fields Summary
public static final int
SAMPLE_FLAG_ENCRYPTED
public static final int
SAMPLE_FLAG_SYNC
public static final int
SEEK_TO_CLOSEST_SYNC
public static final int
SEEK_TO_NEXT_SYNC
public static final int
SEEK_TO_PREVIOUS_SYNC
Constructors Summary
public MediaExtractor()

 throw new RuntimeException("Stub!"); 
Methods Summary
public native booleanadvance()

protected voidfinalize()

 throw new RuntimeException("Stub!"); 
public native longgetCachedDuration()

public java.util.MapgetPsshInfo()

 throw new RuntimeException("Stub!"); 
public native booleangetSampleCryptoInfo(android.media.MediaCodec.CryptoInfo info)

public native intgetSampleFlags()

public native longgetSampleTime()

public native intgetSampleTrackIndex()

public final native intgetTrackCount()

public android.media.MediaFormatgetTrackFormat(int index)

 throw new RuntimeException("Stub!"); 
public native booleanhasCacheReachedEndOfStream()

public native intreadSampleData(java.nio.ByteBuffer byteBuf, int offset)

public final native voidrelease()

public native voidseekTo(long timeUs, int mode)

public native voidselectTrack(int index)

public final voidsetDataSource(android.content.Context context, android.net.Uri uri, java.util.Map headers)

 throw new RuntimeException("Stub!"); 
public final voidsetDataSource(java.lang.String path, java.util.Map headers)

 throw new RuntimeException("Stub!"); 
public final voidsetDataSource(java.lang.String path)

 throw new RuntimeException("Stub!"); 
public final voidsetDataSource(java.io.FileDescriptor fd)

 throw new RuntimeException("Stub!"); 
public final native voidsetDataSource(java.io.FileDescriptor fd, long offset, long length)

public native voidunselectTrack(int index)