Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public final class

NfcEvent

extends Object
java.lang.Object
   ↳ android.nfc.NfcEvent

Class Overview

Wraps information associated with any NFC event.

Immutable object, with direct access to the (final) fields.

An NfcEvent object is usually included in callbacks from NfcAdapter . Check the documentation of the callback to see which fields may be set.

This wrapper object is used (instead of parameters in the callback) because it allows new fields to be added without breaking API compatibility.

Summary

Fields
public final NfcAdapter nfcAdapter The NfcAdapter associated with the NFC event.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final NfcAdapter nfcAdapter

The NfcAdapter associated with the NFC event.