summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2011-12-19 15:53:10 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-12-19 15:53:10 -0800
commiteca6d909f7dd990c9a3226aa2f1ed1fa0cd250a2 (patch)
treeffdd916d697eb26d7190508967c6678b23429737 /api
parent01583ef715641c8a3ce68269b091e75adbe9335a (diff)
parenta356bf1cd81614a94ef6c720998792480ade4c84 (diff)
downloadframeworks_base-eca6d909f7dd990c9a3226aa2f1ed1fa0cd250a2.zip
frameworks_base-eca6d909f7dd990c9a3226aa2f1ed1fa0cd250a2.tar.gz
frameworks_base-eca6d909f7dd990c9a3226aa2f1ed1fa0cd250a2.tar.bz2
Merge "Rewrite NDEF parsing in Java, clean-up API."
Diffstat (limited to 'api')
-rw-r--r--api/15.txt1
-rw-r--r--api/current.txt9
2 files changed, 6 insertions, 4 deletions
diff --git a/api/15.txt b/api/15.txt
index ddf5baf..687a4ce 100644
--- a/api/15.txt
+++ b/api/15.txt
@@ -12659,7 +12659,6 @@ package android.nfc {
method public void enableForegroundDispatch(android.app.Activity, android.app.PendingIntent, android.content.IntentFilter[], java.lang.String[][]);
method public deprecated void enableForegroundNdefPush(android.app.Activity, android.nfc.NdefMessage);
method public static android.nfc.NfcAdapter getDefaultAdapter(android.content.Context);
- method public static deprecated android.nfc.NfcAdapter getDefaultAdapter();
method public boolean isEnabled();
method public void setNdefPushMessage(android.nfc.NdefMessage, android.app.Activity, android.app.Activity...);
method public void setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessageCallback, android.app.Activity, android.app.Activity...);
diff --git a/api/current.txt b/api/current.txt
index b2f20c7..db3b30d 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -12602,10 +12602,12 @@ package android.nfc {
public class FormatException extends java.lang.Exception {
ctor public FormatException();
ctor public FormatException(java.lang.String);
+ ctor public FormatException(java.lang.String, java.lang.Throwable);
}
public final class NdefMessage implements android.os.Parcelable {
ctor public NdefMessage(byte[]) throws android.nfc.FormatException;
+ ctor public NdefMessage(android.nfc.NdefRecord, android.nfc.NdefRecord...);
ctor public NdefMessage(android.nfc.NdefRecord[]);
method public int describeContents();
method public android.nfc.NdefRecord[] getRecords();
@@ -12616,8 +12618,10 @@ package android.nfc {
public final class NdefRecord implements android.os.Parcelable {
ctor public NdefRecord(short, byte[], byte[], byte[]);
- ctor public NdefRecord(byte[]) throws android.nfc.FormatException;
+ ctor public deprecated NdefRecord(byte[]) throws android.nfc.FormatException;
method public static android.nfc.NdefRecord createApplicationRecord(java.lang.String);
+ method public static android.nfc.NdefRecord createExternal(java.lang.String, java.lang.String, byte[]);
+ method public static android.nfc.NdefRecord createMime(java.lang.String, byte[]);
method public static android.nfc.NdefRecord createUri(android.net.Uri);
method public static android.nfc.NdefRecord createUri(java.lang.String);
method public int describeContents();
@@ -12625,7 +12629,7 @@ package android.nfc {
method public byte[] getPayload();
method public short getTnf();
method public byte[] getType();
- method public byte[] toByteArray();
+ method public deprecated byte[] toByteArray();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator CREATOR;
field public static final byte[] RTD_ALTERNATIVE_CARRIER;
@@ -12650,7 +12654,6 @@ package android.nfc {
method public void enableForegroundDispatch(android.app.Activity, android.app.PendingIntent, android.content.IntentFilter[], java.lang.String[][]);
method public deprecated void enableForegroundNdefPush(android.app.Activity, android.nfc.NdefMessage);
method public static android.nfc.NfcAdapter getDefaultAdapter(android.content.Context);
- method public static deprecated android.nfc.NfcAdapter getDefaultAdapter();
method public boolean isEnabled();
method public boolean isNdefPushEnabled();
method public void setNdefPushMessage(android.nfc.NdefMessage, android.app.Activity, android.app.Activity...);