Added in API level 24
Summary:
Methods
| Inherited Methods
NfcFCardEmulation
public
final
class
NfcFCardEmulation
extends Object
| java.lang.Object | |
| ↳ | android.nfc.cardemulation.NfcFCardEmulation |
This class can be used to query the state of NFC-F card emulation services. For a general introduction into NFC card emulation, please read the NFC card emulation developer guide.
Use of this class requires the
PackageManager.FEATURE_NFC_HOST_CARD_EMULATION_NFCF
to be present on the device.
Summary
Public methods | |
|---|---|
boolean
|
disableService(Activity activity)
Disables the service for the specified Activity. |
boolean
|
enableService(Activity activity, ComponentName service)
Allows a foreground application to specify which card emulation service should be enabled while a specific Activity |