Class CardEmulation
- Namespace
- Android.Nfc.Cardemulation
- Assembly
- MASES.Netdroid.dll
public class CardEmulation : JVMBridgeBase<CardEmulation>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
CardEmulation
- Implements
- Extension Methods
Constructors
CardEmulation(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 CardEmulation(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
ACTION_CHANGE_DEFAULT
[Obsolete("Deprecated in JVM")]
public static String ACTION_CHANGE_DEFAULT { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CATEGORY_OTHER
public static String CATEGORY_OTHER { get; set; }
Property Value
CATEGORY_PAYMENT
public static String CATEGORY_PAYMENT { get; set; }
Property Value
EXTRA_CATEGORY
public static String EXTRA_CATEGORY { get; set; }
Property Value
EXTRA_SERVICE_COMPONENT
public static String EXTRA_SERVICE_COMPONENT { get; set; }
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
NFC_INTERNAL_ERROR_COMMAND_TIMEOUT
public static int NFC_INTERNAL_ERROR_COMMAND_TIMEOUT { get; set; }
Property Value
NFC_INTERNAL_ERROR_NFC_CRASH_RESTART
public static int NFC_INTERNAL_ERROR_NFC_CRASH_RESTART { get; set; }
Property Value
NFC_INTERNAL_ERROR_NFC_HARDWARE_ERROR
public static int NFC_INTERNAL_ERROR_NFC_HARDWARE_ERROR { get; set; }
Property Value
NFC_INTERNAL_ERROR_UNKNOWN
public static int NFC_INTERNAL_ERROR_UNKNOWN { get; set; }
Property Value
PROPERTY_ALLOW_SHARED_ROLE_PRIORITY
public static String PROPERTY_ALLOW_SHARED_ROLE_PRIORITY { get; set; }
Property Value
PROTOCOL_AND_TECHNOLOGY_ROUTE_DEFAULT
public static int PROTOCOL_AND_TECHNOLOGY_ROUTE_DEFAULT { get; set; }
Property Value
PROTOCOL_AND_TECHNOLOGY_ROUTE_DH
public static int PROTOCOL_AND_TECHNOLOGY_ROUTE_DH { get; set; }
Property Value
PROTOCOL_AND_TECHNOLOGY_ROUTE_ESE
public static int PROTOCOL_AND_TECHNOLOGY_ROUTE_ESE { get; set; }
Property Value
PROTOCOL_AND_TECHNOLOGY_ROUTE_UICC
public static int PROTOCOL_AND_TECHNOLOGY_ROUTE_UICC { get; set; }
Property Value
PROTOCOL_AND_TECHNOLOGY_ROUTE_UNSET
public static int PROTOCOL_AND_TECHNOLOGY_ROUTE_UNSET { get; set; }
Property Value
SELECTION_MODE_ALWAYS_ASK
public static int SELECTION_MODE_ALWAYS_ASK { get; set; }
Property Value
SELECTION_MODE_ASK_IF_CONFLICT
public static int SELECTION_MODE_ASK_IF_CONFLICT { get; set; }
Property Value
SELECTION_MODE_PREFER_DEFAULT
public static int SELECTION_MODE_PREFER_DEFAULT { get; set; }
Property Value
Methods
CategoryAllowsForegroundPreference(String)
public bool CategoryAllowsForegroundPreference(String arg0)
Parameters
Returns
GetAidsForPreferredPaymentService()
public List<String> GetAidsForPreferredPaymentService()
Returns
GetAidsForService(ComponentName, String)
public List<String> GetAidsForService(ComponentName arg0, String arg1)
Parameters
arg0ComponentNamearg1String
Returns
GetDefaultNfcSubscriptionId()
public int GetDefaultNfcSubscriptionId()
Returns
GetDescriptionForPreferredPaymentService()
public CharSequence GetDescriptionForPreferredPaymentService()
Returns
GetInstance(NfcAdapter)
public static CardEmulation GetInstance(NfcAdapter arg0)
Parameters
arg0NfcAdapter
Returns
GetRouteDestinationForPreferredPaymentService()
public String GetRouteDestinationForPreferredPaymentService()
Returns
GetSelectionModeForCategory(String)
public int GetSelectionModeForCategory(String arg0)
Parameters
Returns
IsDefaultServiceForAid(ComponentName, String)
public bool IsDefaultServiceForAid(ComponentName arg0, String arg1)
Parameters
arg0ComponentNamearg1String
Returns
IsDefaultServiceForCategory(ComponentName, String)
public bool IsDefaultServiceForCategory(ComponentName arg0, String arg1)
Parameters
arg0ComponentNamearg1String
Returns
IsEuiccSupported()
public bool IsEuiccSupported()
Returns
RegisterAidsForService(ComponentName, String, List<String>)
public bool RegisterAidsForService(ComponentName arg0, String arg1, List<String> arg2)
Parameters
arg0ComponentNamearg1Stringarg2List<String>
Returns
RegisterNfcEventCallback(Executor, NfcEventCallback)
public void RegisterNfcEventCallback(Executor arg0, CardEmulation.NfcEventCallback arg1)
Parameters
RegisterPollingLoopFilterForService(ComponentName, String, bool)
public bool RegisterPollingLoopFilterForService(ComponentName arg0, String arg1, bool arg2)
Parameters
arg0ComponentNamearg1Stringarg2bool
Returns
RegisterPollingLoopPatternFilterForService(ComponentName, String, bool)
public bool RegisterPollingLoopPatternFilterForService(ComponentName arg0, String arg1, bool arg2)
Parameters
arg0ComponentNamearg1Stringarg2bool
Returns
RemoveAidsForService(ComponentName, String)
public bool RemoveAidsForService(ComponentName arg0, String arg1)
Parameters
arg0ComponentNamearg1String
Returns
RemovePollingLoopFilterForService(ComponentName, String)
public bool RemovePollingLoopFilterForService(ComponentName arg0, String arg1)
Parameters
arg0ComponentNamearg1String
Returns
RemovePollingLoopPatternFilterForService(ComponentName, String)
public bool RemovePollingLoopPatternFilterForService(ComponentName arg0, String arg1)
Parameters
arg0ComponentNamearg1String
Returns
SetOffHostForService(ComponentName, String)
public bool SetOffHostForService(ComponentName arg0, String arg1)
Parameters
arg0ComponentNamearg1String
Returns
SetPreferredService(Activity, ComponentName)
public bool SetPreferredService(Activity arg0, ComponentName arg1)
Parameters
arg0Activityarg1ComponentName
Returns
SetShouldDefaultToObserveModeForService(ComponentName, bool)
public bool SetShouldDefaultToObserveModeForService(ComponentName arg0, bool arg1)
Parameters
arg0ComponentNamearg1bool
Returns
SupportsAidPrefixRegistration()
public bool SupportsAidPrefixRegistration()
Returns
UnregisterNfcEventCallback(NfcEventCallback)
public void UnregisterNfcEventCallback(CardEmulation.NfcEventCallback arg0)
Parameters
UnsetOffHostForService(ComponentName)
public bool UnsetOffHostForService(ComponentName arg0)
Parameters
Returns
UnsetPreferredService(Activity)
public bool UnsetPreferredService(Activity arg0)