Table of Contents

Class MediaDescrambler

Namespace
Android.Media
Assembly
MASES.Netdroid.dll
public class MediaDescrambler : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAutoCloseable
Inheritance
MediaDescrambler
Implements
Extension Methods

Constructors

MediaDescrambler(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 MediaDescrambler(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

MediaDescrambler(int)

public MediaDescrambler(int arg0)

Parameters

arg0 int

int

Exceptions

MediaCasException.UnsupportedCasException

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

SCRAMBLE_CONTROL_EVEN_KEY

public static byte SCRAMBLE_CONTROL_EVEN_KEY { get; set; }

Property Value

byte

SCRAMBLE_CONTROL_ODD_KEY

public static byte SCRAMBLE_CONTROL_ODD_KEY { get; set; }

Property Value

byte

SCRAMBLE_CONTROL_RESERVED

public static byte SCRAMBLE_CONTROL_RESERVED { get; set; }

Property Value

byte

SCRAMBLE_CONTROL_UNSCRAMBLED

public static byte SCRAMBLE_CONTROL_UNSCRAMBLED { get; set; }

Property Value

byte

SCRAMBLE_FLAG_PES_HEADER

public static byte SCRAMBLE_FLAG_PES_HEADER { get; set; }

Property Value

byte

Methods

Close()

public void Close()

CreatePoolableInstance(int)

HPA initializer for MediaDescrambler(int arg0)

public static MediaDescrambler CreatePoolableInstance(int arg0)

Parameters

arg0 int

Returns

MediaDescrambler

Descramble(ByteBuffer, ByteBuffer, CryptoInfo)

public int Descramble(ByteBuffer arg0, ByteBuffer arg1, MediaCodec.CryptoInfo arg2)

Parameters

arg0 ByteBuffer

ByteBuffer

arg1 ByteBuffer

ByteBuffer

arg2 MediaCodec.CryptoInfo

MediaCodec.CryptoInfo

Returns

int

int

RequiresSecureDecoderComponent(String)

public bool RequiresSecureDecoderComponent(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

SetMediaCasSession(Session)

public void SetMediaCasSession(MediaCas.Session arg0)

Parameters

arg0 MediaCas.Session

MediaCas.Session