summaryrefslogtreecommitdiffstats
path: root/java/BluetoothGattCharacteristic.java
diff options
context:
space:
mode:
authorAndrei Vasiliu <[email protected]>2016-01-13 13:08:07 +0200
committerAndrei Vasiliu <[email protected]>2016-01-13 13:50:20 +0200
commit594f8ad60f74dd4d0d9485d3a0a3e270127f837a (patch)
treea69f4e14a88bcb559c25f4f3c9c074697528eef8 /java/BluetoothGattCharacteristic.java
parent710572a92b47120f61fe0f6b41f17c67eaa1b8fe (diff)
Java: Changed List<Byte> to byte[]
byte[] is more friendly to be used by Java developers. Signed-off-by: Andrei Vasiliu <[email protected]>
Diffstat (limited to 'java/BluetoothGattCharacteristic.java')
-rw-r--r--java/BluetoothGattCharacteristic.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/BluetoothGattCharacteristic.java b/java/BluetoothGattCharacteristic.java
index 41f814b9..07e0bd3a 100644
--- a/java/BluetoothGattCharacteristic.java
+++ b/java/BluetoothGattCharacteristic.java
@@ -6,13 +6,13 @@ public class BluetoothGattCharacteristic extends BluetoothObject
public native BluetoothType getBluetoothType();
public native BluetoothGattCharacteristic clone();
- public native List<Byte> readValue();
- public native boolean writeValue(List<Byte> argValue);
+ public native byte[] readValue();
+ public native boolean writeValue(byte[] argValue);
public native boolean startNotify();
public native boolean stopNotify();
public native String getUuid();
public native BluetoothGattService getService();
- public native List<Byte> getValue();
+ public native byte[] getValue();
public native boolean getNotifying();
public native String[] getFlags();
public native List<BluetoothGattDescriptor> getDescriptors();