public class NfcManager
extends java.lang.Object
| Constructor and Description |
|---|
NfcManager()
This is the constructor of NfcManager.
|
| Modifier and Type | Method and Description |
|---|---|
int |
enableNfcAdapter(boolean enable)
Enables the nfc adapter.
|
public NfcManager()
DeviceException - in case of error.public int enableNfcAdapter(boolean enable)
enable - a boolean that indicates whether to enable or to disable the nfc adapter.int DeviceException.SUCCESS in case of success,
otherwise a possible error code, matching one of the DeviceException error constants.DeviceException - in case of error, when exceptions are enabled through the ErrorManager singleton.