public class SEController extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
SEController.Callbacks
Deprecated.
When NFC controller supports HCE and Application ID (AID) routing
|
Modifier and Type | Method and Description |
---|---|
String |
getActiveSecureElement()
Deprecated.
Return the name of the active Secure Element.
|
static void |
getDefaultController(Context context,
SEController.Callbacks cb)
Deprecated.
Helper for getting an instance of the SE Controller.
|
void |
setActiveSecureElement(String SEName)
Deprecated.
Set a specified Secure Element as "active" one.
|
public static void getDefaultController(Context context, SEController.Callbacks cb)
context
- Calling application's contextcb
- Callback interfacepublic String getActiveSecureElement()
public void setActiveSecureElement(String SEName)
SEName
- Secure Element nameIllegalStateException
- Indicate that NFC Controller is not enabled.SecurityException
- Indicate that application SHALL be signed with a trusted certificate for using this API.