# android.nfc.cardemulation

# android.nfc.cardemulation

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/nfc/cardemulation/package-summary "View this page in Java")

## Interfaces

|-----------------------------------------------------------------------------------------------------------------------------|--------------------------------------------|
| [NfcEventCallback](https://developer.android.com/reference/kotlin/android/nfc/cardemulation/CardEmulation.NfcEventCallback) | Callback interface for NFC-related events. |

## Classes

|-------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [CardEmulation](https://developer.android.com/reference/kotlin/android/nfc/cardemulation/CardEmulation)           | This class can be used to query the state of NFC card emulation services.                                                                                                                                                                                                  |
| [HostApduService](https://developer.android.com/reference/kotlin/android/nfc/cardemulation/HostApduService)       | HostApduService is a convenience[Service](https://developer.android.com/reference/kotlin/android/app/Service.html#)class that can be extended to emulate an NFC card inside an Android service component.                                                                  |
| [HostNfcFService](https://developer.android.com/reference/kotlin/android/nfc/cardemulation/HostNfcFService)       | HostNfcFService is a convenience[Service](https://developer.android.com/reference/kotlin/android/app/Service.html#)class that can be extended to emulate an NFC-F card inside an Android service component.                                                                |
| [NfcFCardEmulation](https://developer.android.com/reference/kotlin/android/nfc/cardemulation/NfcFCardEmulation)   | This class can be used to query the state of NFC-F card emulation services.                                                                                                                                                                                                |
| [OffHostApduService](https://developer.android.com/reference/kotlin/android/nfc/cardemulation/OffHostApduService) | OffHostApduService is a convenience[Service](https://developer.android.com/reference/kotlin/android/app/Service.html#)class that can be extended to describe one or more NFC applications that are residing off-host, for example on an embedded secure element or a UICC. |
| [PollingFrame](https://developer.android.com/reference/kotlin/android/nfc/cardemulation/PollingFrame)             | Polling Frames represent data about individual frames of an NFC polling loop.                                                                                                                                                                                              |