public final class NfcEvent extends Object
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.
Modifier and Type | Field and Description |
---|---|
NfcAdapter |
nfcAdapter
The
NfcAdapter associated with the NFC event. |
public final NfcAdapter nfcAdapter
NfcAdapter
associated with the NFC event.