Table of Contents

Class HostApduService

Namespace
Android.Nfc.Cardemulation
Assembly
MASES.Netdroid.dll
public class HostApduService : Service, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
HostApduService
Implements
Inherited Members
Extension Methods

Constructors

HostApduService()

public HostApduService()

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

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DEACTIVATION_DESELECTED

public static int DEACTIVATION_DESELECTED { get; set; }

Property Value

int
public static int DEACTIVATION_LINK_LOSS { get; set; }

Property Value

int

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

SERVICE_INTERFACE

public static String SERVICE_INTERFACE { get; set; }

Property Value

String

SERVICE_META_DATA

public static String SERVICE_META_DATA { get; set; }

Property Value

String

Methods

CreatePoolableInstance()

HPA initializer for HostApduService()

public static HostApduService CreatePoolableInstance()

Returns

HostApduService

NotifyUnhandled()

public void NotifyUnhandled()

OnDeactivated(int)

public void OnDeactivated(int arg0)

Parameters

arg0 int

int

ProcessCommandApdu(byte[], Bundle)

public byte[] ProcessCommandApdu(byte[] arg0, Bundle arg1)

Parameters

arg0 byte[]

byte

arg1 Bundle

Bundle

Returns

byte[]

byte

ProcessPollingFrames(List<PollingFrame>)

public void ProcessPollingFrames(List<PollingFrame> arg0)

Parameters

arg0 List<PollingFrame>

List

SendResponseApdu(byte[])

public void SendResponseApdu(byte[] arg0)

Parameters

arg0 byte[]

byte