summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorWei Wang <weiwa@google.com>2014-08-01 11:12:37 -0700
committerWei Wang <weiwa@google.com>2014-08-01 11:12:37 -0700
commit6bf513d32db7fbc157681bd642e12a201cf20a89 (patch)
treef012db311cff4a4b99f06d716265c1d53b0484e9 /api
parent9aa499ac42e8e047c9341715599b1ffba4c6f827 (diff)
downloadframeworks_base-6bf513d32db7fbc157681bd642e12a201cf20a89.zip
frameworks_base-6bf513d32db7fbc157681bd642e12a201cf20a89.tar.gz
frameworks_base-6bf513d32db7fbc157681bd642e12a201cf20a89.tar.bz2
Revert "Revert "Service data and manufacturer data can be repeated fields.""
This reverts commit 14c797702543bb5ced989565d90abcfa55c7db46.
Diffstat (limited to 'api')
-rw-r--r--api/current.txt19
1 files changed, 9 insertions, 10 deletions
diff --git a/api/current.txt b/api/current.txt
index 6e89e8b..031c6b7 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -6582,22 +6582,20 @@ package android.bluetooth.le {
method public int describeContents();
method public boolean getIncludeDeviceName();
method public boolean getIncludeTxPowerLevel();
- method public int getManufacturerId();
- method public byte[] getManufacturerSpecificData();
- method public byte[] getServiceData();
- method public android.os.ParcelUuid getServiceDataUuid();
+ method public android.util.SparseArray<byte[]> getManufacturerSpecificData();
+ method public java.util.Map<android.os.ParcelUuid, byte[]> getServiceData();
method public java.util.List<android.os.ParcelUuid> getServiceUuids();
method public void writeToParcel(android.os.Parcel, int);
}
public static final class AdvertiseData.Builder {
ctor public AdvertiseData.Builder();
+ method public android.bluetooth.le.AdvertiseData.Builder addManufacturerData(int, byte[]);
+ method public android.bluetooth.le.AdvertiseData.Builder addServiceData(android.os.ParcelUuid, byte[]);
method public android.bluetooth.le.AdvertiseData.Builder addServiceUuid(android.os.ParcelUuid);
method public android.bluetooth.le.AdvertiseData build();
method public android.bluetooth.le.AdvertiseData.Builder setIncludeDeviceName(boolean);
method public android.bluetooth.le.AdvertiseData.Builder setIncludeTxPowerLevel(boolean);
- method public android.bluetooth.le.AdvertiseData.Builder setManufacturerData(int, byte[]);
- method public android.bluetooth.le.AdvertiseData.Builder setServiceData(android.os.ParcelUuid, byte[]);
}
public final class AdvertiseSettings implements android.os.Parcelable {
@@ -6658,6 +6656,7 @@ package android.bluetooth.le {
method public int getManufacturerId();
method public byte[] getServiceData();
method public byte[] getServiceDataMask();
+ method public android.os.ParcelUuid getServiceDataUuid();
method public android.os.ParcelUuid getServiceUuid();
method public android.os.ParcelUuid getServiceUuidMask();
method public boolean matches(android.bluetooth.le.ScanResult);
@@ -6681,10 +6680,10 @@ package android.bluetooth.le {
method public int getAdvertiseFlags();
method public byte[] getBytes();
method public java.lang.String getDeviceName();
- method public int getManufacturerId();
- method public byte[] getManufacturerSpecificData();
- method public byte[] getServiceData();
- method public android.os.ParcelUuid getServiceDataUuid();
+ method public android.util.SparseArray<byte[]> getManufacturerSpecificData();
+ method public byte[] getManufacturerSpecificData(int);
+ method public java.util.Map<android.os.ParcelUuid, byte[]> getServiceData();
+ method public byte[] getServiceData(android.os.ParcelUuid);
method public java.util.List<android.os.ParcelUuid> getServiceUuids();
method public int getTxPowerLevel();
}