public class NfcCtrl
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BUNDLE_ERROR_CODE |
static java.lang.String |
BUNDLE_ERROR_MSG |
static int |
RESULT_CODE_ERROR |
static int |
RESULT_CODE_SUCCESS |
| Constructor and Description |
|---|
NfcCtrl(android.content.Context context)
Instantiates a new Nfc ctrl.
|
| Modifier and Type | Method and Description |
|---|---|
android.os.Bundle |
setNfcAdapter(boolean enabled)
Set nfc adapter
|
public static final java.lang.String BUNDLE_ERROR_CODE
public static final java.lang.String BUNDLE_ERROR_MSG
public static final int RESULT_CODE_ERROR
public static final int RESULT_CODE_SUCCESS
public NfcCtrl(android.content.Context context)
context - the contextpublic android.os.Bundle setNfcAdapter(boolean enabled)
enabled - true or false (boolean)