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 4ae298d746a5e1732a78913396f455c55530c37b..fb493875015e464b635f30a21f0e5fce9e4fb8db 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; |
@@ -208,6 +209,10 @@ class Wrappers { |
public BluetoothDeviceWrapper getDevice() { |
return new BluetoothDeviceWrapper(mScanResult.getDevice()); |
} |
+ |
+ public List<ParcelUuid> getScanRecord_getServiceUuids() { |
+ return mScanResult.getScanRecord().getServiceUuids(); |
+ } |
} |
/** |
@@ -224,6 +229,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(); |
} |