From 6bf513d32db7fbc157681bd642e12a201cf20a89 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Fri, 1 Aug 2014 11:12:37 -0700 Subject: Revert "Revert "Service data and manufacturer data can be repeated fields."" This reverts commit 14c797702543bb5ced989565d90abcfa55c7db46. --- api/current.txt | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'api') 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 getManufacturerSpecificData(); + method public java.util.Map getServiceData(); method public java.util.List 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 getManufacturerSpecificData(); + method public byte[] getManufacturerSpecificData(int); + method public java.util.Map getServiceData(); + method public byte[] getServiceData(android.os.ParcelUuid); method public java.util.List getServiceUuids(); method public int getTxPowerLevel(); } -- cgit v1.1