The members of Android.Media.MediaExtractor are listed below.
See Also: Inherited members from Java.Lang.Object
const | SampleFlagEncrypted | MediaExtractorSampleFlags (2). The sample is (at least partially) encrypted, see also the documentation for MediaCodec.QueueSecureInputBuffer(int, System.Int32, System.Int32, System.Int32, System.Int32) |
const | SampleFlagSync | MediaExtractorSampleFlags (1). The sample is a sync sample (or in Android.Media.MediaCodec's terminology it is a key frame. |
const | SeekToClosestSync | MediaExtractorSeekTo (2). If possible, seek to the sync sample closest to the specified time |
const | SeekToNextSync | MediaExtractorSeekTo (1). If possible, seek to a sync sample at or after the specified time |
const | SeekToPreviousSync | MediaExtractorSeekTo (0). If possible, seek to a sync sample at or before the specified time |
[read-only] | CachedDuration | long. Returns an estimate of how much data is presently cached in memory expressed in microseconds. |
[read-only] | HasCacheReachedEndOfStream | bool. Returns true iff we are caching data and the cache has reached the end of the data stream (for now, a future seek may of course restart the fetching of data). |
[read-only] | PsshInfo | IDictionary<Java.Util.UUID, Byte[]>. Get the PSSH info if present. |
[read-only] | SampleFlags | MediaExtractorSampleFlags. Returns the current sample's flags. |
[read-only] | SampleTime | long. Returns the current sample's presentation time in microseconds. or -1 if no more samples are available. |
[read-only] | SampleTrackIndex | int. Returns the track index the current sample originates from (or -1 if no more samples are available) |
[read-only] | TrackCount | int. Count the number of tracks found in the data source. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Advance()Advance to the next sample. | ||
AdvanceAsync()Documentation for this section has not yet been entered. | ||
GetSampleCryptoInfo(MediaCodec.CryptoInfo)If the sample flags indicate that the current sample is at least partially encrypted, this call returns relevant information about the structure of the sample data required for decryption. | ||
GetTrackFormat(int)Get the track format at the specified index. | ||
ReadSampleData(Java.Nio.ByteBuffer, int)Retrieve the current encoded sample and store it in the byte buffer starting at the given offset. | ||
ReadSampleDataAsync(Java.Nio.ByteBuffer, int)Documentation for this section has not yet been entered. | ||
Release()Make sure you call this when you're done to free up any resources instead of relying on the garbage collector to do this for you at some point in the future. | ||
SeekTo(long, MediaExtractorSeekTo)All selected tracks seek near the requested time according to the specified mode. | ||
SelectTrack(int)Subsequent calls to MediaExtractor.ReadSampleData(Java.Nio.ByteBuffer, System.Int32), MediaExtractor.SampleTrackIndex and MediaExtractor.SampleTime only retrieve information for the subset of tracks selected. | ||
SetDataSource(Java.IO.FileDescriptor)Sets the data source (FileDescriptor) to use. | ||
SetDataSource(string)Sets the data source (file-path or http URL) to use. | ||
SetDataSource(string, IDictionary<string, string>)Documentation for this section has not yet been entered. | ||
SetDataSource(Android.Content.Context, Android.Net.Uri, IDictionary<string, string>)Documentation for this section has not yet been entered. | ||
SetDataSource(Java.IO.FileDescriptor, long, long)Sets the data source (FileDescriptor) to use. | ||
SetDataSourceAsync(Java.IO.FileDescriptor)Documentation for this section has not yet been entered. | ||
SetDataSourceAsync(string)Documentation for this section has not yet been entered. | ||
SetDataSourceAsync(string, IDictionary<string, string>)Documentation for this section has not yet been entered. | ||
SetDataSourceAsync(Android.Content.Context, Android.Net.Uri, IDictionary<string, string>)Documentation for this section has not yet been entered. | ||
SetDataSourceAsync(Java.IO.FileDescriptor, long, long)Documentation for this section has not yet been entered. | ||
UnselectTrack(int)Subsequent calls to MediaExtractor.ReadSampleData(Java.Nio.ByteBuffer, System.Int32), MediaExtractor.SampleTrackIndex and MediaExtractor.SampleTime only retrieve information for the subset of tracks selected. |