Stay organized with collections
Save and categorize content based on your preferences.
android.nfc.cardemulation
Interfaces
Classes
CardEmulation |
This class can be used to query the state of
NFC card emulation services.
|
HostApduService |
HostApduService is a convenience Service class that can be
extended to emulate an NFC card inside an Android
service component.
|
HostNfcFService |
HostNfcFService is a convenience Service class that can be
extended to emulate an NFC-F card inside an Android service component.
|
NfcFCardEmulation |
This class can be used to query the state of
NFC-F card emulation services.
|
OffHostApduService |
OffHostApduService is a convenience Service 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 |
Polling Frames represent data about individual frames of an NFC polling loop.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[null,null,["Last updated 2025-03-13 UTC."],[],[],null,["# android.nfc.cardemulation\n\nAdded in [API level 19](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.nfc.cardemulation\n=========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/nfc/cardemulation/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------------------------|--------------------------------------------|\n| [CardEmulation.NfcEventCallback](/reference/android/nfc/cardemulation/CardEmulation.NfcEventCallback) | Callback interface for NFC-related events. |\n\nClasses\n-------\n\n|-------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CardEmulation](/reference/android/nfc/cardemulation/CardEmulation) | This class can be used to query the state of NFC card emulation services. |\n| [HostApduService](/reference/android/nfc/cardemulation/HostApduService) | HostApduService is a convenience [Service](/reference/android/app/Service) class that can be extended to emulate an NFC card inside an Android service component. |\n| [HostNfcFService](/reference/android/nfc/cardemulation/HostNfcFService) | HostNfcFService is a convenience [Service](/reference/android/app/Service) class that can be extended to emulate an NFC-F card inside an Android service component. |\n| [NfcFCardEmulation](/reference/android/nfc/cardemulation/NfcFCardEmulation) | This class can be used to query the state of NFC-F card emulation services. |\n| [OffHostApduService](/reference/android/nfc/cardemulation/OffHostApduService) | OffHostApduService is a convenience [Service](/reference/android/app/Service) 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. |\n| [PollingFrame](/reference/android/nfc/cardemulation/PollingFrame) | Polling Frames represent data about individual frames of an NFC polling loop. |\n\n-\n\n Interfaces\n ----------\n\n - [CardEmulation.NfcEventCallback](/reference/android/nfc/cardemulation/CardEmulation.NfcEventCallback)\n-\n\n Classes\n -------\n\n - [CardEmulation](/reference/android/nfc/cardemulation/CardEmulation)\n - [HostApduService](/reference/android/nfc/cardemulation/HostApduService)\n - [HostNfcFService](/reference/android/nfc/cardemulation/HostNfcFService)\n - [NfcFCardEmulation](/reference/android/nfc/cardemulation/NfcFCardEmulation)\n - [OffHostApduService](/reference/android/nfc/cardemulation/OffHostApduService)\n - [PollingFrame](/reference/android/nfc/cardemulation/PollingFrame)"]]