Index: device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java |
diff --git a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java |
index f8c45fe5d013c88647598c83ed5567b7c8605018..0becad1bfac3b59255fdc943d43d72c131307b9c 100644 |
--- a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java |
+++ b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java |
@@ -16,6 +16,7 @@ import android.bluetooth.le.ScanSettings; |
import android.content.Context; |
import android.content.pm.PackageManager; |
import android.os.Build; |
+import android.os.ParcelUuid; |
import org.chromium.base.CalledByNative; |
import org.chromium.base.JNINamespace; |
@@ -186,6 +187,10 @@ class Wrappers { |
public BluetoothDeviceWrapper getDevice() { |
return new BluetoothDeviceWrapper(mScanResult.getDevice()); |
} |
+ |
+ public List<ParcelUuid> getScanRecord_getServiceUuids() { |
+ return mScanResult.getScanRecord().getServiceUuids(); |
+ } |
} |
/** |
@@ -202,6 +207,14 @@ class Wrappers { |
return mDevice.getAddress(); |
} |
+ public int getBluetoothClass_getDeviceClass() { |
+ return mDevice.getBluetoothClass().getDeviceClass(); |
+ } |
+ |
+ public int getBondState() { |
+ return mDevice.getBondState(); |
+ } |
+ |
public String getName() { |
return mDevice.getName(); |
} |