File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
core/java/android/nfc/technology Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ public final class NfcB extends BasicTagTechnology {
4444 public NfcB (NfcAdapter adapter , Tag tag , Bundle extras )
4545 throws RemoteException {
4646 super (adapter , tag , TagTechnology .NFC_B );
47+ mAtqb = extras .getByteArray (EXTRA_ATQB );
4748 }
4849
4950 /**
Original file line number Diff line number Diff line change 3636 * permission.
3737 */
3838public final class NfcV extends BasicTagTechnology {
39+ /** @hide */
40+ public static final String EXTRA_RESP_FLAGS = "respflags" ;
41+
42+ /** @hide */
43+ public static final String EXTRA_DSFID = "dsfid" ;
44+
45+ private byte mRespFlags ;
46+ private byte mDsfId ;
47+
3948 public NfcV (NfcAdapter adapter , Tag tag , Bundle extras )
4049 throws RemoteException {
4150 super (adapter , tag , TagTechnology .NFC_V );
51+ mRespFlags = extras .getByte (EXTRA_RESP_FLAGS );
52+ mDsfId = extras .getByte (EXTRA_DSFID );
53+ }
54+
55+ public byte getResponseFlags () {
56+ return mRespFlags ;
57+ }
58+
59+ public byte getDsfId () {
60+ return mDsfId ;
4261 }
4362}
You can’t perform that action at this time.
0 commit comments