Here's a summary of the classes:
NfcManager
NfcAdapter
. You can
acquire an instance using getSystemService(String)
.NfcAdapter
getDefaultAdapter()
, or
getDefaultAdapter(android.content.Context)
.NdefMessage
ACTION_TAG_DISCOVERED
intent.NdefRecord
NdefMessage
and describes the
type of data being shared and carries the data itself.Note: Not all Android-powered devices provide NFC functionality.
NfcAdapter.CreateNdefMessageCallback | A callback to be invoked when another NFC device capable of NDEF push (Android Beam) is within range. |
NfcAdapter.OnNdefPushCompleteCallback | A callback to be invoked when the system successfully delivers your NdefMessage
to another device. |
NdefMessage | Represents an NDEF (NFC Data Exchange Format) data message that contains one or more NdefRecord s. |
NdefRecord | Represents a logical (unchunked) NDEF (NFC Data Exchange Format) record. |
NfcAdapter | Represents the local NFC adapter. |
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. |