Class MediaExtractor
public class MediaExtractor : JVMBridgeBase<MediaExtractor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<MediaExtractor>MediaExtractor
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<MediaExtractor>.IsAssignableFrom(IJavaType)JVMBridgeBase<MediaExtractor>.IsAssignableFrom<T>()JVMBridgeBase<MediaExtractor>.Execute<T>(params T[])JVMBridgeBase<MediaExtractor>.DynBridgeClazzJVMBridgeBase<MediaExtractor>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
MediaExtractor()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public MediaExtractor()
MediaExtractor(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public MediaExtractor(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
SAMPLE_FLAG_ENCRYPTED
public static int SAMPLE_FLAG_ENCRYPTED { get; }
Property Value
SAMPLE_FLAG_PARTIAL_FRAME
public static int SAMPLE_FLAG_PARTIAL_FRAME { get; }
Property Value
SAMPLE_FLAG_SYNC
public static int SAMPLE_FLAG_SYNC { get; }
Property Value
SEEK_TO_CLOSEST_SYNC
public static int SEEK_TO_CLOSEST_SYNC { get; }
Property Value
SEEK_TO_NEXT_SYNC
public static int SEEK_TO_NEXT_SYNC { get; }
Property Value
SEEK_TO_PREVIOUS_SYNC
public static int SEEK_TO_PREVIOUS_SYNC { get; }
Property Value
Methods
Advance()
public bool Advance()
Returns
GetAudioPresentations(int)
https://developer.android.com/reference/android/media/MediaExtractor.html#getAudioPresentations(int)
public List<AudioPresentation> GetAudioPresentations(int arg0)
Parameters
Returns
GetCachedDuration()
public long GetCachedDuration()
Returns
GetCasInfo(int)
public MediaExtractor.CasInfo GetCasInfo(int arg0)
Parameters
Returns
GetDrmInitData()
public DrmInitData GetDrmInitData()
Returns
GetLogSessionId()
public LogSessionId GetLogSessionId()
Returns
GetMetrics()
public PersistableBundle GetMetrics()
Returns
GetPsshInfo()
public Map<UUID, byte[]> GetPsshInfo()
Returns
GetSampleCryptoInfo(CryptoInfo)
public bool GetSampleCryptoInfo(MediaCodec.CryptoInfo arg0)
Parameters
Returns
GetSampleFlags()
public int GetSampleFlags()
Returns
GetSampleSize()
public long GetSampleSize()
Returns
GetSampleTime()
public long GetSampleTime()
Returns
GetSampleTrackIndex()
public int GetSampleTrackIndex()
Returns
GetTrackCount()
public int GetTrackCount()
Returns
GetTrackFormat(int)
public MediaFormat GetTrackFormat(int arg0)
Parameters
Returns
HasCacheReachedEndOfStream()
public bool HasCacheReachedEndOfStream()
Returns
ReadSampleData(ByteBuffer, int)
public int ReadSampleData(ByteBuffer arg0, int arg1)
Parameters
arg0
ByteBufferarg1
int
Returns
Release()
public void Release()
SeekTo(long, int)
public void SeekTo(long arg0, int arg1)
Parameters
SelectTrack(int)
public void SelectTrack(int arg0)
Parameters
SetDataSource(Context, Uri, Map<String, String>)
public void SetDataSource(Context arg0, Uri arg1, Map<String, String> arg2)
Parameters
Exceptions
SetDataSource(AssetFileDescriptor)
public void SetDataSource(AssetFileDescriptor arg0)
Parameters
Exceptions
SetDataSource(MediaDataSource)
public void SetDataSource(MediaDataSource arg0)
Parameters
Exceptions
SetDataSource(FileDescriptor)
public void SetDataSource(FileDescriptor arg0)
Parameters
Exceptions
SetDataSource(FileDescriptor, long, long)
public void SetDataSource(FileDescriptor arg0, long arg1, long arg2)
Parameters
arg0
FileDescriptorarg1
longarg2
long
Exceptions
SetDataSource(String)
public void SetDataSource(String arg0)
Parameters
Exceptions
SetDataSource(String, Map<String, String>)
public void SetDataSource(String arg0, Map<String, String> arg1)
Parameters
Exceptions
SetLogSessionId(LogSessionId)
public void SetLogSessionId(LogSessionId arg0)
Parameters
arg0
LogSessionId
SetMediaCas(MediaCas)
[Obsolete]
public void SetMediaCas(MediaCas arg0)
Parameters
UnselectTrack(int)
public void UnselectTrack(int arg0)