File
Doc
Category
Size
Date
Package
MediaExtractor.java
API Doc
Android 5.1 API
2038
Sat Mar 14 14:09:38 GMT 2015
android.media
MediaExtractor
java.lang.Object
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
boolean
advance
()
protected void
finalize
()
throw new RuntimeException("Stub!");
public native
long
getCachedDuration
()
public
java.util.Map
getPsshInfo
()
throw new RuntimeException("Stub!");
public native
boolean
getSampleCryptoInfo
(
android.media.MediaCodec.CryptoInfo
info)
public native
int
getSampleFlags
()
public native
long
getSampleTime
()
public native
int
getSampleTrackIndex
()
public final native
int
getTrackCount
()
public
android.media.MediaFormat
getTrackFormat
(
int
index)
throw new RuntimeException("Stub!");
public native
boolean
hasCacheReachedEndOfStream
()
public native
int
readSampleData
(
java.nio.ByteBuffer
byteBuf,
int
offset)
public final native void
release
()
public native void
seekTo
(
long
timeUs,
int
mode)
public native void
selectTrack
(
int
index)
public final void
setDataSource
(
android.content.Context
context,
android.net.Uri
uri,
java.util.Map
headers)
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)
public native void
unselectTrack
(
int
index)
Java Code Source