All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.media.MediaExtractor Maven / Gradle / Ivy

Go to download

provide android hidden api definition ,helper for android super framework development

There is a newer version: 1.11
Show newest version
package android.media;
public final class MediaExtractor
{
public  MediaExtractor() { throw new RuntimeException("Stub!"); }
public final  void setDataSource(android.content.Context context, android.net.Uri uri, java.util.Map headers) throws java.io.IOException { throw new RuntimeException("Stub!"); }
public final  void setDataSource(java.lang.String path, java.util.Map headers) { throw new RuntimeException("Stub!"); }
public final  void setDataSource(java.lang.String path) { throw new RuntimeException("Stub!"); }
public final  void setDataSource(java.io.FileDescriptor fd) { throw new RuntimeException("Stub!"); }
public final native  void setDataSource(java.io.FileDescriptor fd, long offset, long length);
protected  void finalize() { throw new RuntimeException("Stub!"); }
public final native  void release();
public final native  int getTrackCount();
public  android.media.MediaFormat getTrackFormat(int index) { throw new RuntimeException("Stub!"); }
public native  void selectTrack(int index);
public native  void unselectTrack(int index);
public native  void seekTo(long timeUs, int mode);
public native  boolean advance();
public native  int readSampleData(java.nio.ByteBuffer byteBuf, int offset);
public native  int getSampleTrackIndex();
public native  long getSampleTime();
public native  int getSampleFlags();
public native  boolean getSampleCryptoInfo(android.media.MediaCodec.CryptoInfo info);
public native  long getCachedDuration();
public native  boolean hasCacheReachedEndOfStream();
public static final int SEEK_TO_PREVIOUS_SYNC = 0;
public static final int SEEK_TO_NEXT_SYNC = 1;
public static final int SEEK_TO_CLOSEST_SYNC = 2;
public static final int SAMPLE_FLAG_SYNC = 1;
public static final int SAMPLE_FLAG_ENCRYPTED = 2;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy