Class MediaCodec.CryptoInfo
public class MediaCodec.CryptoInfo : JVMBridgeBase<MediaCodec.CryptoInfo>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
MediaCodec.CryptoInfo
- Implements
- Extension Methods
Constructors
CryptoInfo()
public CryptoInfo()
CryptoInfo(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public CryptoInfo(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
iv
public byte[] iv { get; set; }
Property Value
- byte[]
key
public byte[] key { get; set; }
Property Value
- byte[]
mode
public int mode { get; set; }
Property Value
numBytesOfClearData
https://developer.android.com/reference/android/media/MediaCodec.CryptoInfo.html#numBytesOfClearData
public int[] numBytesOfClearData { get; set; }
Property Value
- int[]
numBytesOfEncryptedData
public int[] numBytesOfEncryptedData { get; set; }
Property Value
- int[]
numSubSamples
public int numSubSamples { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for CryptoInfo()
public static MediaCodec.CryptoInfo CreatePoolableInstance()
Returns
GetPattern()
public MediaCodec.CryptoInfo.Pattern GetPattern()
Returns
Set(int, int[], int[], byte[], byte[], int)
public void Set(int arg0, int[] arg1, int[] arg2, byte[] arg3, byte[] arg4, int arg5)
Parameters
SetPattern(Pattern)
public void SetPattern(MediaCodec.CryptoInfo.Pattern arg0)