Loading core/java/android/nfc/technology/NfcB.java +1 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ public final class NfcB extends BasicTagTechnology { public NfcB(NfcAdapter adapter, Tag tag, Bundle extras) throws RemoteException { super(adapter, tag, TagTechnology.NFC_B); mAtqb = extras.getByteArray(EXTRA_ATQB); } /** Loading core/java/android/nfc/technology/NfcV.java +19 −0 Original line number Diff line number Diff line Loading @@ -36,8 +36,27 @@ import android.os.RemoteException; * permission. */ public final class NfcV extends BasicTagTechnology { /** @hide */ public static final String EXTRA_RESP_FLAGS = "respflags"; /** @hide */ public static final String EXTRA_DSFID = "dsfid"; private byte mRespFlags; private byte mDsfId; public NfcV(NfcAdapter adapter, Tag tag, Bundle extras) throws RemoteException { super(adapter, tag, TagTechnology.NFC_V); mRespFlags = extras.getByte(EXTRA_RESP_FLAGS); mDsfId = extras.getByte(EXTRA_DSFID); } public byte getResponseFlags() { return mRespFlags; } public byte getDsfId() { return mDsfId; } } Loading
core/java/android/nfc/technology/NfcB.java +1 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ public final class NfcB extends BasicTagTechnology { public NfcB(NfcAdapter adapter, Tag tag, Bundle extras) throws RemoteException { super(adapter, tag, TagTechnology.NFC_B); mAtqb = extras.getByteArray(EXTRA_ATQB); } /** Loading
core/java/android/nfc/technology/NfcV.java +19 −0 Original line number Diff line number Diff line Loading @@ -36,8 +36,27 @@ import android.os.RemoteException; * permission. */ public final class NfcV extends BasicTagTechnology { /** @hide */ public static final String EXTRA_RESP_FLAGS = "respflags"; /** @hide */ public static final String EXTRA_DSFID = "dsfid"; private byte mRespFlags; private byte mDsfId; public NfcV(NfcAdapter adapter, Tag tag, Bundle extras) throws RemoteException { super(adapter, tag, TagTechnology.NFC_V); mRespFlags = extras.getByte(EXTRA_RESP_FLAGS); mDsfId = extras.getByte(EXTRA_DSFID); } public byte getResponseFlags() { return mRespFlags; } public byte getDsfId() { return mDsfId; } }