Loading api/10.xml +34 −60 Original line number Diff line number Diff line Loading @@ -100906,7 +100906,7 @@ visibility="public" > </field> <field name="ACTION_TECHNOLOGY_DISCOVERED" <field name="ACTION_TECH_DISCOVERED" type="java.lang.String" transient="false" volatile="false" Loading Loading @@ -100975,29 +100975,12 @@ extends="java.lang.Object" abstract="false" static="false" final="false" final="true" deprecated="not deprecated" visibility="public" > <implements name="android.os.Parcelable"> </implements> <method name="createMockTag" return="android.nfc.Tag" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > <parameter name="id" type="byte[]"> </parameter> <parameter name="techList" type="int[]"> </parameter> <parameter name="techListExtras" type="android.os.Bundle[]"> </parameter> </method> <method name="describeContents" return="int" abstract="false" Loading Loading @@ -101145,19 +101128,6 @@ visibility="public" > </method> <method name="reconnect" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </class> <class name="IsoDep" extends="android.nfc.tech.BasicTagTechnology" Loading Loading @@ -101745,7 +101715,7 @@ deprecated="not deprecated" visibility="public" > <method name="canMakeReadonly" <method name="canMakeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -101807,7 +101777,7 @@ </exception> </method> <method name="getType" return="int" return="java.lang.String" abstract="false" native="false" synchronized="false" Loading @@ -101828,7 +101798,7 @@ visibility="public" > </method> <method name="makeReadonly" <method name="makeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -101859,10 +101829,10 @@ </exception> </method> <field name="MIFARE_CLASSIC" type="int" type="java.lang.String" transient="false" volatile="false" value="101" value=""com.nxp.ndef.mifareclassic"" static="true" final="true" deprecated="not deprecated" Loading @@ -101870,10 +101840,10 @@ > </field> <field name="NFC_FORUM_TYPE_1" type="int" type="java.lang.String" transient="false" volatile="false" value="1" value=""org.nfcforum.ndef.type1"" static="true" final="true" deprecated="not deprecated" Loading @@ -101881,10 +101851,10 @@ > </field> <field name="NFC_FORUM_TYPE_2" type="int" type="java.lang.String" transient="false" volatile="false" value="2" value=""org.nfcforum.ndef.type2"" static="true" final="true" deprecated="not deprecated" Loading @@ -101892,10 +101862,10 @@ > </field> <field name="NFC_FORUM_TYPE_3" type="int" type="java.lang.String" transient="false" volatile="false" value="3" value=""org.nfcforum.ndef.type3"" static="true" final="true" deprecated="not deprecated" Loading @@ -101903,21 +101873,10 @@ > </field> <field name="NFC_FORUM_TYPE_4" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="OTHER" type="int" type="java.lang.String" transient="false" volatile="false" value="-1" value=""org.nfcforum.ndef.type4"" static="true" final="true" deprecated="not deprecated" Loading Loading @@ -101950,6 +101909,23 @@ <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="formatReadOnly" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="firstMessage" type="android.nfc.NdefMessage"> </parameter> <exception name="FormatException" type="android.nfc.FormatException"> </exception> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="get" return="android.nfc.tech.NdefFormatable" abstract="false" Loading Loading @@ -102246,8 +102222,8 @@ visibility="public" > </method> <method name="reconnect" return="void" <method name="isConnected" return="boolean" abstract="true" native="false" synchronized="false" Loading @@ -102256,8 +102232,6 @@ deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </interface> </package> api/11.xml +34 −60 Original line number Diff line number Diff line Loading @@ -118639,7 +118639,7 @@ visibility="public" > </field> <field name="ACTION_TECHNOLOGY_DISCOVERED" <field name="ACTION_TECH_DISCOVERED" type="java.lang.String" transient="false" volatile="false" Loading Loading @@ -118708,29 +118708,12 @@ extends="java.lang.Object" abstract="false" static="false" final="false" final="true" deprecated="not deprecated" visibility="public" > <implements name="android.os.Parcelable"> </implements> <method name="createMockTag" return="android.nfc.Tag" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > <parameter name="id" type="byte[]"> </parameter> <parameter name="techList" type="int[]"> </parameter> <parameter name="techListExtras" type="android.os.Bundle[]"> </parameter> </method> <method name="describeContents" return="int" abstract="false" Loading Loading @@ -118878,19 +118861,6 @@ visibility="public" > </method> <method name="reconnect" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </class> <class name="IsoDep" extends="android.nfc.tech.BasicTagTechnology" Loading Loading @@ -119478,7 +119448,7 @@ deprecated="not deprecated" visibility="public" > <method name="canMakeReadonly" <method name="canMakeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -119540,7 +119510,7 @@ </exception> </method> <method name="getType" return="int" return="java.lang.String" abstract="false" native="false" synchronized="false" Loading @@ -119561,7 +119531,7 @@ visibility="public" > </method> <method name="makeReadonly" <method name="makeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -119592,10 +119562,10 @@ </exception> </method> <field name="MIFARE_CLASSIC" type="int" type="java.lang.String" transient="false" volatile="false" value="101" value=""com.nxp.ndef.mifareclassic"" static="true" final="true" deprecated="not deprecated" Loading @@ -119603,10 +119573,10 @@ > </field> <field name="NFC_FORUM_TYPE_1" type="int" type="java.lang.String" transient="false" volatile="false" value="1" value=""org.nfcforum.ndef.type1"" static="true" final="true" deprecated="not deprecated" Loading @@ -119614,10 +119584,10 @@ > </field> <field name="NFC_FORUM_TYPE_2" type="int" type="java.lang.String" transient="false" volatile="false" value="2" value=""org.nfcforum.ndef.type2"" static="true" final="true" deprecated="not deprecated" Loading @@ -119625,10 +119595,10 @@ > </field> <field name="NFC_FORUM_TYPE_3" type="int" type="java.lang.String" transient="false" volatile="false" value="3" value=""org.nfcforum.ndef.type3"" static="true" final="true" deprecated="not deprecated" Loading @@ -119636,21 +119606,10 @@ > </field> <field name="NFC_FORUM_TYPE_4" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="OTHER" type="int" type="java.lang.String" transient="false" volatile="false" value="-1" value=""org.nfcforum.ndef.type4"" static="true" final="true" deprecated="not deprecated" Loading Loading @@ -119683,6 +119642,23 @@ <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="formatReadOnly" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="firstMessage" type="android.nfc.NdefMessage"> </parameter> <exception name="FormatException" type="android.nfc.FormatException"> </exception> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="get" return="android.nfc.tech.NdefFormatable" abstract="false" Loading Loading @@ -119979,8 +119955,8 @@ visibility="public" > </method> <method name="reconnect" return="void" <method name="isConnected" return="boolean" abstract="true" native="false" synchronized="false" Loading @@ -119989,8 +119965,6 @@ deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </interface> </package> api/current.xml +34 −60 Original line number Diff line number Diff line Loading @@ -118639,7 +118639,7 @@ visibility="public" > </field> <field name="ACTION_TECHNOLOGY_DISCOVERED" <field name="ACTION_TECH_DISCOVERED" type="java.lang.String" transient="false" volatile="false" Loading Loading @@ -118708,29 +118708,12 @@ extends="java.lang.Object" abstract="false" static="false" final="false" final="true" deprecated="not deprecated" visibility="public" > <implements name="android.os.Parcelable"> </implements> <method name="createMockTag" return="android.nfc.Tag" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > <parameter name="id" type="byte[]"> </parameter> <parameter name="techList" type="int[]"> </parameter> <parameter name="techListExtras" type="android.os.Bundle[]"> </parameter> </method> <method name="describeContents" return="int" abstract="false" Loading Loading @@ -118878,19 +118861,6 @@ visibility="public" > </method> <method name="reconnect" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </class> <class name="IsoDep" extends="android.nfc.tech.BasicTagTechnology" Loading Loading @@ -119478,7 +119448,7 @@ deprecated="not deprecated" visibility="public" > <method name="canMakeReadonly" <method name="canMakeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -119540,7 +119510,7 @@ </exception> </method> <method name="getType" return="int" return="java.lang.String" abstract="false" native="false" synchronized="false" Loading @@ -119561,7 +119531,7 @@ visibility="public" > </method> <method name="makeReadonly" <method name="makeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -119592,10 +119562,10 @@ </exception> </method> <field name="MIFARE_CLASSIC" type="int" type="java.lang.String" transient="false" volatile="false" value="101" value=""com.nxp.ndef.mifareclassic"" static="true" final="true" deprecated="not deprecated" Loading @@ -119603,10 +119573,10 @@ > </field> <field name="NFC_FORUM_TYPE_1" type="int" type="java.lang.String" transient="false" volatile="false" value="1" value=""org.nfcforum.ndef.type1"" static="true" final="true" deprecated="not deprecated" Loading @@ -119614,10 +119584,10 @@ > </field> <field name="NFC_FORUM_TYPE_2" type="int" type="java.lang.String" transient="false" volatile="false" value="2" value=""org.nfcforum.ndef.type2"" static="true" final="true" deprecated="not deprecated" Loading @@ -119625,10 +119595,10 @@ > </field> <field name="NFC_FORUM_TYPE_3" type="int" type="java.lang.String" transient="false" volatile="false" value="3" value=""org.nfcforum.ndef.type3"" static="true" final="true" deprecated="not deprecated" Loading @@ -119636,21 +119606,10 @@ > </field> <field name="NFC_FORUM_TYPE_4" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="OTHER" type="int" type="java.lang.String" transient="false" volatile="false" value="-1" value=""org.nfcforum.ndef.type4"" static="true" final="true" deprecated="not deprecated" Loading Loading @@ -119683,6 +119642,23 @@ <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="formatReadOnly" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="firstMessage" type="android.nfc.NdefMessage"> </parameter> <exception name="FormatException" type="android.nfc.FormatException"> </exception> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="get" return="android.nfc.tech.NdefFormatable" abstract="false" Loading Loading @@ -119979,8 +119955,8 @@ visibility="public" > </method> <method name="reconnect" return="void" <method name="isConnected" return="boolean" abstract="true" native="false" synchronized="false" Loading @@ -119989,8 +119965,6 @@ deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </interface> </package> core/java/android/nfc/NfcAdapter.java +3 −3 Original line number Diff line number Diff line Loading @@ -44,10 +44,10 @@ public final class NfcAdapter { /** * Intent to start an activity when a tag with NDEF payload is discovered. * If the tag has and NDEF payload this intent is started before * {@link #ACTION_TECHNOLOGY_DISCOVERED}. * {@link #ACTION_TECH_DISCOVERED}. * * If any activities respond to this intent neither * {@link #ACTION_TECHNOLOGY_DISCOVERED} or {@link #ACTION_TAG_DISCOVERED} will be started. * {@link #ACTION_TECH_DISCOVERED} or {@link #ACTION_TAG_DISCOVERED} will be started. */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_NDEF_DISCOVERED = "android.nfc.action.NDEF_DISCOVERED"; Loading @@ -63,7 +63,7 @@ public final class NfcAdapter { * If any activities respond to this intent {@link #ACTION_TAG_DISCOVERED} will not be started. */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_TECHNOLOGY_DISCOVERED = "android.nfc.action.TECH_DISCOVERED"; public static final String ACTION_TECH_DISCOVERED = "android.nfc.action.TECH_DISCOVERED"; /** * Intent to start an activity when a tag is discovered. Loading core/java/android/nfc/Tag.java +2 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ import java.util.Arrays; * not cause any further RF activity or block. Note however that arrays passed to and * returned by this class are *not* cloned, so be careful not to modify them. */ public class Tag implements Parcelable { public final class Tag implements Parcelable { /*package*/ final byte[] mId; /*package*/ final int[] mTechList; /*package*/ final String[] mTechStringList; Loading Loading @@ -93,6 +93,7 @@ public class Tag implements Parcelable { * @param id The tag identifier, can be null * @param techList must not be null * @return freshly constructed tag * @hide */ public static Tag createMockTag(byte[] id, int[] techList, Bundle[] techListExtras) { // set serviceHandle to 0 to indicate mock tag Loading Loading
api/10.xml +34 −60 Original line number Diff line number Diff line Loading @@ -100906,7 +100906,7 @@ visibility="public" > </field> <field name="ACTION_TECHNOLOGY_DISCOVERED" <field name="ACTION_TECH_DISCOVERED" type="java.lang.String" transient="false" volatile="false" Loading Loading @@ -100975,29 +100975,12 @@ extends="java.lang.Object" abstract="false" static="false" final="false" final="true" deprecated="not deprecated" visibility="public" > <implements name="android.os.Parcelable"> </implements> <method name="createMockTag" return="android.nfc.Tag" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > <parameter name="id" type="byte[]"> </parameter> <parameter name="techList" type="int[]"> </parameter> <parameter name="techListExtras" type="android.os.Bundle[]"> </parameter> </method> <method name="describeContents" return="int" abstract="false" Loading Loading @@ -101145,19 +101128,6 @@ visibility="public" > </method> <method name="reconnect" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </class> <class name="IsoDep" extends="android.nfc.tech.BasicTagTechnology" Loading Loading @@ -101745,7 +101715,7 @@ deprecated="not deprecated" visibility="public" > <method name="canMakeReadonly" <method name="canMakeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -101807,7 +101777,7 @@ </exception> </method> <method name="getType" return="int" return="java.lang.String" abstract="false" native="false" synchronized="false" Loading @@ -101828,7 +101798,7 @@ visibility="public" > </method> <method name="makeReadonly" <method name="makeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -101859,10 +101829,10 @@ </exception> </method> <field name="MIFARE_CLASSIC" type="int" type="java.lang.String" transient="false" volatile="false" value="101" value=""com.nxp.ndef.mifareclassic"" static="true" final="true" deprecated="not deprecated" Loading @@ -101870,10 +101840,10 @@ > </field> <field name="NFC_FORUM_TYPE_1" type="int" type="java.lang.String" transient="false" volatile="false" value="1" value=""org.nfcforum.ndef.type1"" static="true" final="true" deprecated="not deprecated" Loading @@ -101881,10 +101851,10 @@ > </field> <field name="NFC_FORUM_TYPE_2" type="int" type="java.lang.String" transient="false" volatile="false" value="2" value=""org.nfcforum.ndef.type2"" static="true" final="true" deprecated="not deprecated" Loading @@ -101892,10 +101862,10 @@ > </field> <field name="NFC_FORUM_TYPE_3" type="int" type="java.lang.String" transient="false" volatile="false" value="3" value=""org.nfcforum.ndef.type3"" static="true" final="true" deprecated="not deprecated" Loading @@ -101903,21 +101873,10 @@ > </field> <field name="NFC_FORUM_TYPE_4" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="OTHER" type="int" type="java.lang.String" transient="false" volatile="false" value="-1" value=""org.nfcforum.ndef.type4"" static="true" final="true" deprecated="not deprecated" Loading Loading @@ -101950,6 +101909,23 @@ <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="formatReadOnly" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="firstMessage" type="android.nfc.NdefMessage"> </parameter> <exception name="FormatException" type="android.nfc.FormatException"> </exception> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="get" return="android.nfc.tech.NdefFormatable" abstract="false" Loading Loading @@ -102246,8 +102222,8 @@ visibility="public" > </method> <method name="reconnect" return="void" <method name="isConnected" return="boolean" abstract="true" native="false" synchronized="false" Loading @@ -102256,8 +102232,6 @@ deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </interface> </package>
api/11.xml +34 −60 Original line number Diff line number Diff line Loading @@ -118639,7 +118639,7 @@ visibility="public" > </field> <field name="ACTION_TECHNOLOGY_DISCOVERED" <field name="ACTION_TECH_DISCOVERED" type="java.lang.String" transient="false" volatile="false" Loading Loading @@ -118708,29 +118708,12 @@ extends="java.lang.Object" abstract="false" static="false" final="false" final="true" deprecated="not deprecated" visibility="public" > <implements name="android.os.Parcelable"> </implements> <method name="createMockTag" return="android.nfc.Tag" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > <parameter name="id" type="byte[]"> </parameter> <parameter name="techList" type="int[]"> </parameter> <parameter name="techListExtras" type="android.os.Bundle[]"> </parameter> </method> <method name="describeContents" return="int" abstract="false" Loading Loading @@ -118878,19 +118861,6 @@ visibility="public" > </method> <method name="reconnect" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </class> <class name="IsoDep" extends="android.nfc.tech.BasicTagTechnology" Loading Loading @@ -119478,7 +119448,7 @@ deprecated="not deprecated" visibility="public" > <method name="canMakeReadonly" <method name="canMakeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -119540,7 +119510,7 @@ </exception> </method> <method name="getType" return="int" return="java.lang.String" abstract="false" native="false" synchronized="false" Loading @@ -119561,7 +119531,7 @@ visibility="public" > </method> <method name="makeReadonly" <method name="makeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -119592,10 +119562,10 @@ </exception> </method> <field name="MIFARE_CLASSIC" type="int" type="java.lang.String" transient="false" volatile="false" value="101" value=""com.nxp.ndef.mifareclassic"" static="true" final="true" deprecated="not deprecated" Loading @@ -119603,10 +119573,10 @@ > </field> <field name="NFC_FORUM_TYPE_1" type="int" type="java.lang.String" transient="false" volatile="false" value="1" value=""org.nfcforum.ndef.type1"" static="true" final="true" deprecated="not deprecated" Loading @@ -119614,10 +119584,10 @@ > </field> <field name="NFC_FORUM_TYPE_2" type="int" type="java.lang.String" transient="false" volatile="false" value="2" value=""org.nfcforum.ndef.type2"" static="true" final="true" deprecated="not deprecated" Loading @@ -119625,10 +119595,10 @@ > </field> <field name="NFC_FORUM_TYPE_3" type="int" type="java.lang.String" transient="false" volatile="false" value="3" value=""org.nfcforum.ndef.type3"" static="true" final="true" deprecated="not deprecated" Loading @@ -119636,21 +119606,10 @@ > </field> <field name="NFC_FORUM_TYPE_4" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="OTHER" type="int" type="java.lang.String" transient="false" volatile="false" value="-1" value=""org.nfcforum.ndef.type4"" static="true" final="true" deprecated="not deprecated" Loading Loading @@ -119683,6 +119642,23 @@ <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="formatReadOnly" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="firstMessage" type="android.nfc.NdefMessage"> </parameter> <exception name="FormatException" type="android.nfc.FormatException"> </exception> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="get" return="android.nfc.tech.NdefFormatable" abstract="false" Loading Loading @@ -119979,8 +119955,8 @@ visibility="public" > </method> <method name="reconnect" return="void" <method name="isConnected" return="boolean" abstract="true" native="false" synchronized="false" Loading @@ -119989,8 +119965,6 @@ deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </interface> </package>
api/current.xml +34 −60 Original line number Diff line number Diff line Loading @@ -118639,7 +118639,7 @@ visibility="public" > </field> <field name="ACTION_TECHNOLOGY_DISCOVERED" <field name="ACTION_TECH_DISCOVERED" type="java.lang.String" transient="false" volatile="false" Loading Loading @@ -118708,29 +118708,12 @@ extends="java.lang.Object" abstract="false" static="false" final="false" final="true" deprecated="not deprecated" visibility="public" > <implements name="android.os.Parcelable"> </implements> <method name="createMockTag" return="android.nfc.Tag" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > <parameter name="id" type="byte[]"> </parameter> <parameter name="techList" type="int[]"> </parameter> <parameter name="techListExtras" type="android.os.Bundle[]"> </parameter> </method> <method name="describeContents" return="int" abstract="false" Loading Loading @@ -118878,19 +118861,6 @@ visibility="public" > </method> <method name="reconnect" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </class> <class name="IsoDep" extends="android.nfc.tech.BasicTagTechnology" Loading Loading @@ -119478,7 +119448,7 @@ deprecated="not deprecated" visibility="public" > <method name="canMakeReadonly" <method name="canMakeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -119540,7 +119510,7 @@ </exception> </method> <method name="getType" return="int" return="java.lang.String" abstract="false" native="false" synchronized="false" Loading @@ -119561,7 +119531,7 @@ visibility="public" > </method> <method name="makeReadonly" <method name="makeReadOnly" return="boolean" abstract="false" native="false" Loading Loading @@ -119592,10 +119562,10 @@ </exception> </method> <field name="MIFARE_CLASSIC" type="int" type="java.lang.String" transient="false" volatile="false" value="101" value=""com.nxp.ndef.mifareclassic"" static="true" final="true" deprecated="not deprecated" Loading @@ -119603,10 +119573,10 @@ > </field> <field name="NFC_FORUM_TYPE_1" type="int" type="java.lang.String" transient="false" volatile="false" value="1" value=""org.nfcforum.ndef.type1"" static="true" final="true" deprecated="not deprecated" Loading @@ -119614,10 +119584,10 @@ > </field> <field name="NFC_FORUM_TYPE_2" type="int" type="java.lang.String" transient="false" volatile="false" value="2" value=""org.nfcforum.ndef.type2"" static="true" final="true" deprecated="not deprecated" Loading @@ -119625,10 +119595,10 @@ > </field> <field name="NFC_FORUM_TYPE_3" type="int" type="java.lang.String" transient="false" volatile="false" value="3" value=""org.nfcforum.ndef.type3"" static="true" final="true" deprecated="not deprecated" Loading @@ -119636,21 +119606,10 @@ > </field> <field name="NFC_FORUM_TYPE_4" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="OTHER" type="int" type="java.lang.String" transient="false" volatile="false" value="-1" value=""org.nfcforum.ndef.type4"" static="true" final="true" deprecated="not deprecated" Loading Loading @@ -119683,6 +119642,23 @@ <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="formatReadOnly" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="firstMessage" type="android.nfc.NdefMessage"> </parameter> <exception name="FormatException" type="android.nfc.FormatException"> </exception> <exception name="IOException" type="java.io.IOException"> </exception> </method> <method name="get" return="android.nfc.tech.NdefFormatable" abstract="false" Loading Loading @@ -119979,8 +119955,8 @@ visibility="public" > </method> <method name="reconnect" return="void" <method name="isConnected" return="boolean" abstract="true" native="false" synchronized="false" Loading @@ -119989,8 +119965,6 @@ deprecated="not deprecated" visibility="public" > <exception name="IOException" type="java.io.IOException"> </exception> </method> </interface> </package>
core/java/android/nfc/NfcAdapter.java +3 −3 Original line number Diff line number Diff line Loading @@ -44,10 +44,10 @@ public final class NfcAdapter { /** * Intent to start an activity when a tag with NDEF payload is discovered. * If the tag has and NDEF payload this intent is started before * {@link #ACTION_TECHNOLOGY_DISCOVERED}. * {@link #ACTION_TECH_DISCOVERED}. * * If any activities respond to this intent neither * {@link #ACTION_TECHNOLOGY_DISCOVERED} or {@link #ACTION_TAG_DISCOVERED} will be started. * {@link #ACTION_TECH_DISCOVERED} or {@link #ACTION_TAG_DISCOVERED} will be started. */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_NDEF_DISCOVERED = "android.nfc.action.NDEF_DISCOVERED"; Loading @@ -63,7 +63,7 @@ public final class NfcAdapter { * If any activities respond to this intent {@link #ACTION_TAG_DISCOVERED} will not be started. */ @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) public static final String ACTION_TECHNOLOGY_DISCOVERED = "android.nfc.action.TECH_DISCOVERED"; public static final String ACTION_TECH_DISCOVERED = "android.nfc.action.TECH_DISCOVERED"; /** * Intent to start an activity when a tag is discovered. Loading
core/java/android/nfc/Tag.java +2 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ import java.util.Arrays; * not cause any further RF activity or block. Note however that arrays passed to and * returned by this class are *not* cloned, so be careful not to modify them. */ public class Tag implements Parcelable { public final class Tag implements Parcelable { /*package*/ final byte[] mId; /*package*/ final int[] mTechList; /*package*/ final String[] mTechStringList; Loading Loading @@ -93,6 +93,7 @@ public class Tag implements Parcelable { * @param id The tag identifier, can be null * @param techList must not be null * @return freshly constructed tag * @hide */ public static Tag createMockTag(byte[] id, int[] techList, Bundle[] techListExtras) { // set serviceHandle to 0 to indicate mock tag Loading