Stay organized with collections
Save and categorize content based on your preferences.
android.nfc
Interfaces
Classes
AvailableNfcAntenna |
Represents a single available Nfc antenna on an Android device.
|
NdefMessage |
Represents an immutable NDEF Message.
|
NdefRecord |
Represents an immutable NDEF Record.
|
NfcAdapter |
Represents the local NFC adapter.
|
NfcAntennaInfo |
Contains information on all available Nfc antennas on an Android device as well as information on the device itself in relation positioning of the antennas.
|
NfcEvent |
Wraps information associated with any NFC event.
|
NfcManager |
High level manager used to obtain an instance of an NfcAdapter .
|
Tag |
Represents an NFC tag that has been discovered.
|
Exceptions
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-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.nfc\n===========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/nfc/package-summary \"View this page in Java\")\n\nInterfaces\n----------\n\n|---------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CreateBeamUrisCallback](/reference/kotlin/android/nfc/NfcAdapter.CreateBeamUrisCallback) | \u003cbr /\u003e |\n| [CreateNdefMessageCallback](/reference/kotlin/android/nfc/NfcAdapter.CreateNdefMessageCallback) | A callback to be invoked when another NFC device capable of NDEF push (Android Beam) is within range. |\n| [OnNdefPushCompleteCallback](/reference/kotlin/android/nfc/NfcAdapter.OnNdefPushCompleteCallback) | A callback to be invoked when the system successfully delivers your [NdefMessage](/reference/kotlin/android/nfc/NdefMessage) to another device. |\n| [OnTagRemovedListener](/reference/kotlin/android/nfc/NfcAdapter.OnTagRemovedListener) | A callback that is invoked when a tag is removed from the field. |\n| [ReaderCallback](/reference/kotlin/android/nfc/NfcAdapter.ReaderCallback) | A callback to be invoked when the system finds a tag while the foreground activity is operating in reader mode. |\n\nClasses\n-------\n\n|--------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AvailableNfcAntenna](/reference/kotlin/android/nfc/AvailableNfcAntenna) | Represents a single available Nfc antenna on an Android device. |\n| [NdefMessage](/reference/kotlin/android/nfc/NdefMessage) | Represents an immutable NDEF Message. |\n| [NdefRecord](/reference/kotlin/android/nfc/NdefRecord) | Represents an immutable NDEF Record. |\n| [NfcAdapter](/reference/kotlin/android/nfc/NfcAdapter) | Represents the local NFC adapter. |\n| [NfcAntennaInfo](/reference/kotlin/android/nfc/NfcAntennaInfo) | Contains information on all available Nfc antennas on an Android device as well as information on the device itself in relation positioning of the antennas. |\n| [NfcEvent](/reference/kotlin/android/nfc/NfcEvent) | Wraps information associated with any NFC event. |\n| [NfcManager](/reference/kotlin/android/nfc/NfcManager) | High level manager used to obtain an instance of an [NfcAdapter](/reference/kotlin/android/nfc/NfcAdapter). |\n| [Tag](/reference/kotlin/android/nfc/Tag) | Represents an NFC tag that has been discovered. |\n\nExceptions\n----------\n\n|--------------------------------------------------------------------|--------|\n| [FormatException](/reference/kotlin/android/nfc/FormatException) | \u003cbr /\u003e |\n| [TagLostException](/reference/kotlin/android/nfc/TagLostException) | \u003cbr /\u003e |"]]